This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: [Suite] How to override the Remove Operation Target in a Suite project?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2012
12:41 PM
[Suite] How to override the Remove Operation Target in a Suite project?
Hello,
We are trying to setup a Suite project that installs an Setup.exe that was created with NSIS Installer. Installing works fine, but for the uninstall part we have to run the file [INSTALLDIR]uninstall.exe, not the Setup.exe with a different parameter or so. So my question, how can I override the Target in the Remove Operation? Everything the Suite offers me is the installers executable in a drop down box, nothing else.
Ideas anyone?
Thanks,
Sandra
We are trying to setup a Suite project that installs an Setup.exe that was created with NSIS Installer. Installing works fine, but for the uninstall part we have to run the file [INSTALLDIR]uninstall.exe, not the Setup.exe with a different parameter or so. So my question, how can I override the Target in the Remove Operation? Everything the Suite offers me is the installers executable in a drop down box, nothing else.
Ideas anyone?
Thanks,
Sandra
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 30, 2012
10:54 AM
In general you're not limited to the selections in the drop down here, just type what you need into the Target setting. For example, you can type [ProgramFilesFolder]Company\Product\uninstall.exe and it will do what you expect.
(However the specific case of [INSTALLDIR] may be problematic if your users can change the location; I don't recall if the suite will save and remember a suite property used to specify the installation location.)
(However the specific case of [INSTALLDIR] may be problematic if your users can change the location; I don't recall if the suite will save and remember a suite property used to specify the installation location.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2012
02:08 PM
Thanks for the info Michael. It's good to know I can type into the box too, but I think this feature still has a bug.
When trying to locate the binary during uninstall it ignores the [INSTALLDIR] value and then appends the rest of whatever I typed to the\\ folder. E.g when typing in [INSTALLDIR]uninstaller\uninstall.exe, it evaluates it to \\uninstaller\uninstall.exe
But the [INSTALLDIR] property value itself is available during uninstall. When being passed in on the cmdline it does resolve to the correct location.
To work around it I ended up extracting the uninstall.exe from the NSIS Installer package, adding it to the package files, selecting it from the dropdown list and then passing in the [INSTALLDIR] property on the commandline for the remove operation (/S _?=[INSTALLDIR]).
Thanks,
Sandra
When trying to locate the binary during uninstall it ignores the [INSTALLDIR] value and then appends the rest of whatever I typed to the
But the [INSTALLDIR] property value itself is available during uninstall. When being passed in on the cmdline it does resolve to the correct location.
To work around it I ended up extracting the uninstall.exe from the NSIS Installer package, adding it to the package files, selecting it from the dropdown list and then passing in the [INSTALLDIR] property on the commandline for the remove operation (/S _?=[INSTALLDIR]).
Thanks,
Sandra