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
- :
- setup.exe is hanging...
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
‎May 06, 2008
10:47 PM
Hang at the end of installation
I have inherited a bizarre installer that installs SQL databases and upgrades them. It is entirely nonstandard. For example, it was lobotomized to be "stateless" by the person who created it, so that it runs like an old fashioned installer that can be run 100 times without registering itself on the machine.
It installs SQL databases using an OSQL vbscript command line script (ugh). We are installing on SQL Express if users want a local copy of a database. This part of the installer seems to work. Unpacks the SQL and other script files and runs them to create a database.
The installer also runs a utility called "Upgrader" that uses ODBC DSNs to connect to the database and upgrade database features using SQL.
Given that the installer does absolutely no other work than to configure the command line and run the upgrader, I have configured the "Upgrader.exe" to run in OnFirstUIBefore(), to report any errors, then to quit. All that the installer does is launch the utility.
MSI logging shows absolutely no errors.
The problem is that the installer setup.exe keeps HANGING after completion of running the upgrader utility. I have no clue what is causing the installer to HANG. Whether the utility returns success or a failure number, the installer setup.exe simply keeps hanging around without quiting. I have tried both exit and abort (would rather not use abort).
It installs SQL databases using an OSQL vbscript command line script (ugh). We are installing on SQL Express if users want a local copy of a database. This part of the installer seems to work. Unpacks the SQL and other script files and runs them to create a database.
The installer also runs a utility called "Upgrader" that uses ODBC DSNs to connect to the database and upgrade database features using SQL.
Given that the installer does absolutely no other work than to configure the command line and run the upgrader, I have configured the "Upgrader.exe" to run in OnFirstUIBefore(), to report any errors, then to quit. All that the installer does is launch the utility.
MSI logging shows absolutely no errors.
The problem is that the installer setup.exe keeps HANGING after completion of running the upgrader utility. I have no clue what is causing the installer to HANG. Whether the utility returns success or a failure number, the installer setup.exe simply keeps hanging around without quiting. I have tried both exit and abort (would rather not use abort).
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 08, 2008
05:25 PM
I placed an "Exit" in the OnEnd() function, and a message box. The installer still hangs after OnEnd() and supposedly invoking Exit.
Any clue about anything about InstallShield setup.exe that might cause such behavior?
************
Any clue about anything about InstallShield setup.exe that might cause such behavior?
************
Peter Kosenko wrote:
I have inherited a bizarre installer that installs SQL databases and upgrades them. It is entirely nonstandard. For example, it was lobotomized to be "stateless" by the person who created it, so that it runs like an old fashioned installer that can be run 100 times without registering itself on the machine.
It installs SQL databases using an OSQL vbscript command line script (ugh). We are installing on SQL Express if users want a local copy of a database. This part of the installer seems to work. Unpacks the SQL and other script files and runs them to create a database.
The installer also runs a utility called "Upgrader" that uses ODBC DSNs to connect to the database and upgrade database features using SQL.
Given that the installer does absolutely no other work than to configure the command line and run the upgrader, I have configured the "Upgrader.exe" to run in OnFirstUIBefore(), to report any errors, then to quit. All that the installer does is launch the utility.
MSI logging shows absolutely no errors.
The problem is that the installer setup.exe keeps HANGING after completion of running the upgrader utility. I have no clue what is causing the installer to HANG. Whether the utility returns success or a failure number, the installer setup.exe simply keeps hanging around without quiting. I have tried both exit and abort (would rather not use abort).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
08:10 AM
Hi,
I've the same problem.
After installing oracle over oui my setup.exe is hanging...
Can anybody help?
I've the same problem.
After installing oracle over oui my setup.exe is hanging...
Can anybody help?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
10:40 AM
A hang could be attributed to a number of different causes. Given this is an InstallScript/InstallScript MSI project, is SdShowMsg being used in the script anywhere? If so, ensure that for every call to SdShowMsg with bShow (the second parameter) passed as TRUE, there is a corresponding SdShowMsg call with bShow passed as FALSE. Failing to close an SdShowMsg before the install completes will prevent the setup from exiting.
Loading a DLL from script (UseDLL) could also cause a hang if the DLL does not unload after calling UnUseDLL. Using CreateObject/GetObject to obtain a COM interface can also cause an issue if the interface does not release properly.
Loading a DLL from script (UseDLL) could also cause a hang if the DLL does not unload after calling UnUseDLL. Using CreateObject/GetObject to obtain a COM interface can also cause an issue if the interface does not release properly.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)