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
- :
- You are doomed
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
Feb 04, 2009
03:58 PM
Urgent help?!
Inside our strictly InstallScript project, we check for previous versions that may be installed, if found - remove them and then continue with the installation.
In InstallShield pro 7 we used the following command:
PerformUninstall("TL2009 (00)",UNINSTALL_PATH+"\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}","\""+COMMONFILES^"\\INSTAL~1\\PROFES~1\\RunTime\\0701\\Intel32\\Ctor.dll\",LaunchSetup \""+PROGRAMFILES+"InstallShield Installation Information\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}\\setup.exe\" -uninst",WINSYSDIR^"rundll32");
(PerformUninstall is a custom function) In IS2008 we get an error.
I was informed by Customer Service to change this to
"-uninst", "\""+PROGRAMFILES+"InstallShield Installation Information\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}\\setup.exe\"");
The problem with the new command it is brings up dialog asking if the user wishes to reboot or not, and we don't want to see that. We need it to just uninstall and then go back to the current install running.
Also we are having a problem with the final command in the new InstallScript to force a reboot.
SdFinishReboot("Setup Complete","It is necessary to reboot the system now.",SYS_BOOTMACHINE,"",WILL_REBOOT);
Is the command we are using, yet the final dialog still offer the user to reboot or not.
What is it we are missing or not missing?
Thanks
Sue
In InstallShield pro 7 we used the following command:
PerformUninstall("TL2009 (00)",UNINSTALL_PATH+"\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}","\""+COMMONFILES^"\\INSTAL~1\\PROFES~1\\RunTime\\0701\\Intel32\\Ctor.dll\",LaunchSetup \""+PROGRAMFILES+"InstallShield Installation Information\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}\\setup.exe\" -uninst",WINSYSDIR^"rundll32");
(PerformUninstall is a custom function) In IS2008 we get an error.
I was informed by Customer Service to change this to
"-uninst", "\""+PROGRAMFILES+"InstallShield Installation Information\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}\\setup.exe\"");
The problem with the new command it is brings up dialog asking if the user wishes to reboot or not, and we don't want to see that. We need it to just uninstall and then go back to the current install running.
Also we are having a problem with the final command in the new InstallScript to force a reboot.
SdFinishReboot("Setup Complete","It is necessary to reboot the system now.",SYS_BOOTMACHINE,"",WILL_REBOOT);
Is the command we are using, yet the final dialog still offer the user to reboot or not.
What is it we are missing or not missing?
Thanks
Sue
(1) Reply
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)