Saving variables to use with uninstall.
Saving variables to use with uninstall.
Is there a possibility to save variables (maybe in the msi file) so I can use them within the uninstall dialogs?
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Hi Treoxx!
This capability is not currently available - variables that you need must be saved either in the registry, or in text files, or in some other way you would like to reuse them.
However this was a top feature request, so I am happy to say our development team has added a new "Persist" option to the Set Variable command, which, when checked, automatically saves variable values.
This will be available in an update coming soon!
This capability is not currently available - variables that you need must be saved either in the registry, or in text files, or in some other way you would like to reuse them.
However this was a top feature request, so I am happy to say our development team has added a new "Persist" option to the Set Variable command, which, when checked, automatically saves variable values.
This will be available in an update coming soon!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
OK Michael thanks!.
Then the next thing:
When I request the variable $TARGETDIR$ in the maintenance dialog I get the following answer:
"C:\\Program files\\$NAMEOFAVARIABLE$"
That was not what I expected.
(Yes I've changed the variable $title$ in the Target Folder by Project Properties.)
Where can I find the right dir from the installed program.
Then the next thing:
When I request the variable $TARGETDIR$ in the maintenance dialog I get the following answer:
"C:\\Program files\\$NAMEOFAVARIABLE$"
That was not what I expected.
(Yes I've changed the variable $title$ in the Target Folder by Project Properties.)
Where can I find the right dir from the installed program.
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
If I change $TIME$ in another variable lets say $SERVICENAME$
(In project properties, targetdir)
The value of $SERVICENAME$ is 12345
Because I'm making an installer for multiple instances the user has to choose the title for the software. This is written in $SERVICENAME$
The user changes it to 54321.
He finished the installation, and goes to uninstallation..
Messagebox with $TARGETDIR$ "C\\programfiles\\\"
Well.... I give up
will wait at the option for variables for install and maintenance, I really need it, not only for the targetdir.
(In project properties, targetdir)
The value of $SERVICENAME$ is 12345
Because I'm making an installer for multiple instances the user has to choose the title for the software. This is written in $SERVICENAME$
The user changes it to 54321.
He finished the installation, and goes to uninstallation..
Messagebox with $TARGETDIR$ "C\\programfiles\\\"
Well.... I give up

