cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
retzcat
Level 6

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?
Labels (1)
0 Kudos
(1) Reply
retzcat
Level 6

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\"");
0 Kudos