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

 


 


Answer Summary:
Capture the exe and convert to MSI
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

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

Answered 07/18/2012 by: jagadeish
Red Belt

  • Thanks, tried this and still getting reboots immediately after installation
  • THANKS BootOption=0 is working
Please log in to comment

Answers

2

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

Answered 07/18/2012 by: piyushnasa
Red Belt

  • I think this is gonna be the way for me to go, many thanks for all your suggestions guys. I appreciate it!!
  • I will try repacking this is Wise Package Studio in order to crease an msi.
Please log in to comment
1

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

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

Answered 07/17/2012 by: SMal.tmcc
Red Belt

  • 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.
  • 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.
  • Thanks, I already tried this, but don't see anything like an .msi file of similar here.
Please log in to comment
1

Add the following part at the end in .iss file

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

BootOption=0

Answered 07/17/2012 by: jagadeish
Red Belt

  • Thanks for the suggestion, I've tried this and it still causes a reboot to occur.
  • thanks BootOption=0 is working
Please log in to comment
Answer this question or Comment on this question for clarity