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
- :
- Visual C++ Runtime Error in Installscript 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
Sep 03, 2008
03:33 PM
Visual C++ Runtime Error in Installscript project
I'm running IS2008 Pro - pure installscript. We've used the same setup.rul and uninstall.rul code for a long time and never hit this problem.
I created a minor release installer, added the uninstall string for the last release...
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");
and all of a sudden - when running the new minor release version - it finds that an older version is running and asks if we want to uninstall. After answering Yes - I get a runtime error (file attached.)
This is only happening on installscript installers created in IS2008... installations created in IS 7 Pro uninstall find during the install process with the IS2008 installers.
Anyone else run into this and might have a fix?
I created a minor release installer, added the uninstall string for the last release...
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");
and all of a sudden - when running the new minor release version - it finds that an older version is running and asks if we want to uninstall. After answering Yes - I get a runtime error (file attached.)
This is only happening on installscript installers created in IS2008... installations created in IS 7 Pro uninstall find during the install process with the IS2008 installers.
Anyone else run into this and might have a fix?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 08, 2008
11:34 AM
I called the support folks to get this resolved...
Turns out that we were using an older command to run the uninstall. Our old call included COMMONFILES^"\\INSTAL~1\\PROFES~1\\RunTime\\0701\\Intel32\\ctor.dll, which since InstallShield Pro12 is no longer needed. We need to just call via "-uninst", "\""+PROGRAMFILES+"InstallShield Installation Information\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}\\setup.exe\"");
Turns out that we were using an older command to run the uninstall. Our old call included COMMONFILES^"\\INSTAL~1\\PROFES~1\\RunTime\\0701\\Intel32\\ctor.dll, which since InstallShield Pro12 is no longer needed. We need to just call via "-uninst", "\""+PROGRAMFILES+"InstallShield Installation Information\\{A917A368-72D6-4EA4-9A69-1B026F1EB10B}\\setup.exe\"");