Re: some windows 7 silent install/uninstall issues
- From: Steffen Macke <dia diagramr biz>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: some windows 7 silent install/uninstall issues
- Date: Sun, 30 Jun 2013 16:25:39 +0200
Hello Peter,
sorry for the late reply.
On 25.06.2013 13:40, Peter BRENEIS wrote:
i noticed that there is a .dia folder in "%userprofile%" created after the
program starts first time.
what is the reason for that behaviour and how can i change that path to
another location for all users on the machine? (without adding set
variables, e.g. %userprofile%\Documents\dia\)
The .dia folder contains per-user configuration data, user-defined
shapes and sheets,
python scripts, etc. If you look at Linux/UNIX programs you'll find that
this is a very common behaviour.
Dia places the .dia folder in the users home directory. Thus changing
the enviroment variable "HOME"
will change the location of the .dia folder. If you would like to place
it in %userprofile%\Documents, try
SET HOME=%userprofile%\Documents
the uninstaller does work when running it from windows explorer, but
running the uninstaller with option /S from an elevated command prompt
does not work, it does not delete the folder structure.
You will notice that there's a prompt asking you to confirm the deletion
of those files and folders.
With /s, there's no such confirmation and in turn no deletion. User data
is at risk here. If you're
working with unattended/automated uninstallations, judge yourself if you
can safely delete these
files/folders and add a script for this.
> is there any information on silent switches for the installer?
These are the standard switches for NSIS installers:
http://nsis.sourceforge.net/Which_command_line_parameters_can_be_used_to_configure_installers
Regards,
Steffen
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]