/build/static/layout/Breadcrumb_cap_w.png

Setup.iss Unattended install - trying to prevent restart

I’m attempting an unattended installation of some software (CODA Financials Client). But my problem is that the installation always restarts.

 

If I install the application as usual, using the setup.exe, at the end of the installation I receive a message giving me the options of “Yes – I want to restart my computer now” or “No – I will restart my computer later”.

 

When I use setup.exe -r command to create the .exe file, at the end of the installation I receive a message advising “Your installation requires a restart before it is complete” At this point there isn’t a Yes or No option, just an OK button which, when clicked, causes the computer to restart.

 

So, the usual installation process seems to alter slightly when I’m using the setup.exe –r command.

Does anybody have any suggestions on how I can get around this. I’ve tried a number of Sdfinish / SdFinishReboot  entries in the setup.iss  file but I’m not quite sure if I’ve done these correctly.

There is an .msi file but I can’t it as it tells me that it must run via the setup.exe file., so I’ve tried creating an .mst file with SSETUPDRIVEN = 1 but I then receive error message of ‘could not retrieve product version from setup.ini.

 

Here is the setup.iss file

 

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-DlgOrder]

Dlg0={DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdLicense-0

Count=6

Dlg1={DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdCustomerInfo-0

Dlg2={DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdAskDestPath-0

Dlg3={DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdComponentDialog2-0

Dlg4={DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdStartCopy-0

Dlg5={DB102B80-E246-4D16-92A8-3DB1146B60B0}-MessageBox-0

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdLicense-0]

Result=1

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdCustomerInfo-0]

szName=End User

szCompany=Company

nvUser=1

Result=1

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdAskDestPath-0]

szDir=C:\Program Files\CODA\Financials Client\

Result=1

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdComponentDialog2-0]

Component-type=string

Component-count=1

Component-0=AdditionalFeatures\Kerberos

Result=1

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdStartCopy-0]

Result=1

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-MessageBox-0]

Result=1




 

 

Help please! Many thanks

 


 



0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Capture the exe and convert to MSI
Posted by: jagadeish 12 years ago
Red Belt
3

Can you try this one..

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdFinish-0]

Result=1

bOpt1=0

bOpt2=0

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdFinishReboot-0]
 
BootOption=0


Comments:
  • Thanks, tried this and still getting reboots immediately after installation - PJ77 12 years ago
  • THANKS BootOption=0 is working - abhaypatil00@gmail.com 10 years ago
Posted by: piyushnasa 12 years ago
Red Belt
2

Can you capture the exe and convert to MSI. It would be the best way to even capture the changes after reboot.


Comments:
  • I think this is gonna be the way for me to go, many thanks for all your suggestions guys. I appreciate it!! - PJ77 12 years ago
  • I will try repacking this is Wise Package Studio in order to crease an msi. - PJ77 12 years ago
Posted by: SMal.tmcc 12 years ago
Red Belt
1

look at page 10 for silent install, see if that helps

https://www.acndms.com/offerings/CODA%20References/CODAClient.pdf


Comments:
  • Thanks, I've looked at this and the documentation that comes with the CODA software.

    The problem is, when running setup.exe manually I am given the choice of whether to restart now or later.
    But when I run setup.exe /r.... at the end of the installation I am not given a choice, I just receive a message of "before you can use this problem you computer requires a restart."
    Clicking the OK button then causes the computer to restart. I am not given a choice.

    Thanks for the suggestion anyway. - PJ77 12 years ago
  • This has helped a couple others when all else failed, flush your temp directory and then start the installer. look in your temp directory to see if the installer decompress's it's files there. if it does copy the structure to your desktop and look for the real exe or msi the install uses and create your push from that one. - SMal.tmcc 12 years ago
  • Thanks, I already tried this, but don't see anything like an .msi file of similar here. - PJ77 12 years ago
Posted by: jagadeish 12 years ago
Red Belt
1

Add the following part at the end in .iss file

[{DB102B80-E246-4D16-92A8-3DB1146B60B0}-SdFinishReboot-0]

BootOption=0


Comments:
  • Thanks for the suggestion, I've tried this and it still causes a reboot to occur. - PJ77 12 years ago
  • thanks BootOption=0 is working - abhaypatil00@gmail.com 10 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ