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
- :
- Re: Debuging installer in Silent Mode
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
‎Jun 12, 2008
10:44 AM
Debuging installer in Silent Mode
Hi,
I never had to do this before, but i am trying to figure out why my installer does not install any files in silent mode?? it works fine in normal mode.
i dont have any custom dialog box added and also within the IS script I am allocating values to needed variables using if MODE = SilementMode etc.
is there a way to debug Installer (Installscript MSI) in silent mode?
TIA
I never had to do this before, but i am trying to figure out why my installer does not install any files in silent mode?? it works fine in normal mode.
i dont have any custom dialog box added and also within the IS script I am allocating values to needed variables using if MODE = SilementMode etc.
is there a way to debug Installer (Installscript MSI) in silent mode?
TIA
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2008
11:19 AM
You should be able to run the debugger in a silent install with the following command line:
setup.exe /s /d
It may also be beneficial to create a verbose log of the installation in a working scenario and a scenario that doesn't work, and compare properties such as ADDLOCAL in the different logs.
setup.exe /s /d
It may also be beneficial to create a verbose log of the installation in a working scenario and a scenario that doesn't work, and compare properties such as ADDLOCAL in the different logs.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 13, 2008
03:25 PM
joshstechnij wrote:
You should be able to run the debugger in a silent install with the following command line:
setup.exe /s /d
It may also be beneficial to create a verbose log of the installation in a working scenario and a scenario that doesn't work, and compare properties such as ADDLOCAL in the different logs.
Josh,
Thanks..it does work, however one thing I dont understand is when debugger reaches the first dialog box (sdwelcome), it bums out (installer quites)?
I tried adding SdWelcome.rul to my project just to see where it crashes I found at following code
// record data produced by this dialog
if (MODE=SILENTMODE) then
SdMakeName( szAppKey, szDlg, szTitle, nSdWelcome );
SilentReadData( szAppKey, "Result", DATA_NUMBER, szTemp, nId );
return NEXT;
which is in the beginning of sdwelcome.rul , it is crashing at SilentReadData( szAppKey, "Result", DATA_NUMBER, szTemp, nId );?
and also the application does not get installed, if I do like
if (MODE = SILENTMODE) /*before nResult = SdWelcome(szTitle, szMsg); gets executed*/ then
goto Dlg_SdStartCopy;
endif;
then it application files gets installed but i dont see an instance of my application in Add/remove dialog box of OS or infact under UNINSTALLKEY?
though my application works fine.
any ideas?
TIA
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 16, 2008
10:35 AM
Please try adding the following at the beginning of the response file you generated and then try running the setup again in silent mode:
[CODE][InstallShield Silent]
Version=v7.00
File=Response File[/CODE]
[CODE][InstallShield Silent]
Version=v7.00
File=Response File[/CODE]
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)