[urgent] Launchappandwait hangs in windows 7
Posted 10 May 2011 - 11:05
I am facing issue while installing one of the exe.
Below is the code:
here RSC_SETUP=Installing Report Sharing Component...
svBinPath = c:\Program Files\common\bin
In common\bin path my exe is present.
if i go to task manager->process this exe is running and it is not stopping.
nResult = LaunchAppAndWait (svBinPath ^ RSC_SETUP, "-s", WAIT);
if(nResult < 0 ) then
LogWrite("LOG:Installing RSC failed.\n");
LogWrite("LOG:Installing RSC successful.\n");
when i run this code when the control goes to LaunchAppAndWait line installation is hanging.. i tried to install with "Run as admin" this is also not working.
Can anyone please help me out/any idea????
Posted 13 June 2011 - 08:40
I am facing same problem with IS2010 also.. I run the same code in IS 2010. And installation hangs..Could you please help me out???
Posted 14 June 2011 - 11:31
Is RSC_SETUP a setup that was created with InstallShield? If yes, which version?
Does RSC_SETUP properly run with the -s switch when launched from a command prompt instead of from InstallShield?
Did you try ChangeDirectory before LaunchAppAndWait?
You may need to do a LongPathToQuote before calling LaunchAppAndWait (I'm not quite sure about this, and I think it may be different in different versions of InstallShield).
Use a tool like ProcessMonitor from SysInternals to detect any access errors.
Posted 22 February 2012 - 20:54
How would I upgrade the installer? The developer is no longer updating the product.
Posted 23 February 2012 - 10:12
In general: don't expect 13 year old software (InstallShield 5.52) to work properly on today's Windows version.
Posted 19 July 2013 - 07:33
Same problem with Microangelo 2.0 as well as Sierra Hellfire.
Solution: Del *.pf in C:\Windows\Prefetch.
Yes it's safe, google it.
Hope this helps.