How to disable an extra window to restart system even after selecting not to do so in files in use dialog in installshield

随声附和 提交于 2019-12-11 02:27:05

问题


I am doing an upgrade for the existing exe file using installshield. when installing the update , in files in use dialog I select the option to automatically close and restart the application instead of the other option to reboot the system. But I get an extra window which tells me to restart the system again after installation is complete. How to disable this window? Please help :)


回答1:


You can try to run the installation silently with REBOOT=ReallySuppress (update the paths). Please note that I haven't had the chance to test all these command lines:

msiexec.exe /I "C:\IsWiX.msi" /QN /L*V "C:\msilog.log" REBOOT=ReallySuppress
  • /I is for install
  • /QN is silent mode
  • /L* is verbose logging

If you have an EXE file instead of an MSI file I would extract the MSI to an administrative image (file extract from setup.exe basically) using the following command:

setup.exe /a

Then specify an extract location for the files in the EXE file. You can also run it directly with the Installshield command lines for EXE files. Something like:

Setup.exe /v"REBOOT=ReallySuppress /qn"

Or silently with logging:

Setup.exe /v"/l*v c:\test.log REBOOT=ReallySuppress /qn"

There are also some simplified command line macros from Microsoft. Most of the time these can be used. Other times you need the full command line interface.



来源:https://stackoverflow.com/questions/24339642/how-to-disable-an-extra-window-to-restart-system-even-after-selecting-not-to-do

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!