In my installation I have a text file which needs to contain the path of the installation. Of course I do not know the PATH until the user chooses where to install. Is there some easy/recommended way to be able to edit this file during installation to replace some arbitrary string with the actual install path?
This sort of works. I am able to create the action and during installation the file gets modified.
However, when I try to uninstall by clicking "Remove" in "Add or Remove Programs" then I get an error: "There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor"
If I choose "Change" instead of "Remove" it works and I can then use the "Remove" option of the installer itself. However just clicking "Remove" must work as well.
The is with Windows Server 2003 x64.
I followed the instructions from the link you provided so I do not think I am doing anything wrong. Do you have any explanation for this behavior?
FOLLOW US
Get the latest news in Application Packaging