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
- :
- Silent installation reboot trouble
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 24, 2015
03:07 AM
Silent installation reboot trouble
Hi All,
I have a installscript type installer project, where I am running the setup in silent mode installation. I have packaged files like .dll, .exe, etc..
When i execute the installation in silent mode, if there is a file is locked by any process which is supposed to get deployed by the installation, it calls the SdFinishEx method which in turn calls the reboot method and the installer goes for reboot. Now say I am running the installation using the below command:
setup.exe /s /f1"c:\temp\IssWithOutSilent.iss"
As the command suggests I am running the installation using a response file which does not have the input for the reboot prompt. So the installation goes to an abort sequesnce and the installation is aborted.
Again, if I execute the installation using the below command:
setup.exe /s /f1"c:\temp\IssWithSilent.iss"
and any of the files are not locked then the installation aborts, since the response file does not have response to the non reboot prompt.
Please help me and let me know the recommended way to handle the scenario.
I have a installscript type installer project, where I am running the setup in silent mode installation. I have packaged files like .dll, .exe, etc..
When i execute the installation in silent mode, if there is a file is locked by any process which is supposed to get deployed by the installation, it calls the SdFinishEx method which in turn calls the reboot method and the installer goes for reboot. Now say I am running the installation using the below command:
setup.exe /s /f1"c:\temp\IssWithOutSilent.iss"
As the command suggests I am running the installation using a response file which does not have the input for the reboot prompt. So the installation goes to an abort sequesnce and the installation is aborted.
Again, if I execute the installation using the below command:
setup.exe /s /f1"c:\temp\IssWithSilent.iss"
and any of the files are not locked then the installation aborts, since the response file does not have response to the non reboot prompt.
Please help me and let me know the recommended way to handle the scenario.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 26, 2015
01:24 AM
Lucifer999 wrote:
Hi All,
I have a installscript type installer project, where I am running the setup in silent mode installation. I have packaged files like .dll, .exe, etc..
When i execute the installation in silent mode, if there is a file is locked by any process which is supposed to get deployed by the installation, it calls the SdFinishEx method which in turn calls the reboot method and the installer goes for reboot. Now say I am running the installation using the below command:
setup.exe /s /f1"c:\temp\IssWithOutSilent.iss"
As the command suggests I am running the installation using a response file which does not have the input for the reboot prompt. So the installation goes to an abort sequesnce and the installation is aborted.
Again, if I execute the installation using the below command:
setup.exe /s /f1"c:\temp\IssWithSilent.iss"
and any of the files are not locked then the installation aborts, since the response file does not have response to the non reboot prompt.
Please help me and let me know the recommended way to handle the scenario.
Follow up question:
is there a way to detect which process is locking a file from InstallScript?