|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Hello:
I have a MSI install file which was generated from some 3rd party merge modules. I removed all the Actions such as ScheduleRoot, ForceReboot from the MSI file. In addition, I added REBOOT in the property table and set its value to ReallySuppress. I installed it from command prompt with following command. msiexec /i myprogram.msi /qn /log my.log The program was installed properly and there was no MSI dialog box and reboot. However, when I tried to uninstall the program with following command msiexec /x myprogram.msi /qn /log my.log The computer automatically rebooted after removing all the files. I thought that the REBOOT property would suppress the reboot generated by the MSI installer. I also tried input arguments of /norestart and REBOOT=reallysuppress and they still could not stop the reboot. I took a look at the MSI.log and found that the REBOOT property was changed to ForceReboot. I am very confused about who changed the REBOOT property since I did not seem to be able to find any operation in the log that changed the REBOOT. I tried to attach the log but it made the post too long. Thank you very much |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
If there's a custom action in there it can do what it wants, including
overriding what you might want to do. Does the log say what was going on when the REBOOT propertyy was changed? -- Phil Wilson The Definitive Guide to Windows Installer http://www.apress.com/book/view/1590592972 "axu" <axu@discussions.microsoft.com> wrote in message news:2EBDA7F6-B5DE-4DB4-A601-8058273E9932@microsoft.com... > Hello: > > I have a MSI install file which was generated from some 3rd party merge > modules. > > I removed all the Actions such as ScheduleRoot, ForceReboot from the MSI > file. In addition, I added REBOOT in the property table and set its value > to > ReallySuppress. > > I installed it from command prompt with following command. > > msiexec /i myprogram.msi /qn /log my.log > > The program was installed properly and there was no MSI dialog box and > reboot. > > However, when I tried to uninstall the program with following command > > msiexec /x myprogram.msi /qn /log my.log > > The computer automatically rebooted after removing all the files. > > I thought that the REBOOT property would suppress the reboot generated by > the MSI installer. > > I also tried input arguments of /norestart and REBOOT=reallysuppress and > they still could not stop the reboot. > > I took a look at the MSI.log and found that the REBOOT property was > changed > to ForceReboot. > > I am very confused about who changed the REBOOT property since I did not > seem to be able to find any operation in the log that changed the REBOOT. > > I tried to attach the log but it made the post too long. > > Thank you very much |
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
Thanks for the help!
I searched the log and there is only one place where REBOOT is mentioned. It is in the list of properties at the end of the log and shows the REBOOT value is F. Other than that I did not see in the log where a Custom action sets the REBOOT. I will go back to recheck the MSI package to see if there is any custom action that is suspicious. cheers, "Wilson, Phil" wrote: > If there's a custom action in there it can do what it wants, including > overriding what you might want to do. Does the log say what was going on > when the REBOOT propertyy was changed? > -- > Phil Wilson > The Definitive Guide to Windows Installer > http://www.apress.com/book/view/1590592972 > > > "axu" <axu@discussions.microsoft.com> wrote in message > news:2EBDA7F6-B5DE-4DB4-A601-8058273E9932@microsoft.com... > > Hello: > > > > I have a MSI install file which was generated from some 3rd party merge > > modules. > > > > I removed all the Actions such as ScheduleRoot, ForceReboot from the MSI > > file. In addition, I added REBOOT in the property table and set its value > > to > > ReallySuppress. > > > > I installed it from command prompt with following command. > > > > msiexec /i myprogram.msi /qn /log my.log > > > > The program was installed properly and there was no MSI dialog box and > > reboot. > > > > However, when I tried to uninstall the program with following command > > > > msiexec /x myprogram.msi /qn /log my.log > > > > The computer automatically rebooted after removing all the files. > > > > I thought that the REBOOT property would suppress the reboot generated by > > the MSI installer. > > > > I also tried input arguments of /norestart and REBOOT=reallysuppress and > > they still could not stop the reboot. > > > > I took a look at the MSI.log and found that the REBOOT property was > > changed > > to ForceReboot. > > > > I am very confused about who changed the REBOOT property since I did not > > seem to be able to find any operation in the log that changed the REBOOT. > > > > I tried to attach the log but it made the post too long. > > > > Thank you very much > |
|
|
|
#4 (permalink) |
|
Guest
Posts: n/a
|
Hi:
I have confirmed that there is indeed an custom action in the 3rd party merge modules that sets the REBOOT to F although it does not leave a trace in the log. Thank you for your help. "axu" wrote: > Thanks for the help! > > I searched the log and there is only one place where REBOOT is mentioned. It > is in the list of properties at the end of the log and shows the REBOOT value > is F. > > Other than that I did not see in the log where a Custom action sets the > REBOOT. > > I will go back to recheck the MSI package to see if there is any custom > action that is suspicious. > > cheers, > > > > > "Wilson, Phil" wrote: > > > If there's a custom action in there it can do what it wants, including > > overriding what you might want to do. Does the log say what was going on > > when the REBOOT propertyy was changed? > > -- > > Phil Wilson > > The Definitive Guide to Windows Installer > > http://www.apress.com/book/view/1590592972 > > > > > > "axu" <axu@discussions.microsoft.com> wrote in message > > news:2EBDA7F6-B5DE-4DB4-A601-8058273E9932@microsoft.com... > > > Hello: > > > > > > I have a MSI install file which was generated from some 3rd party merge > > > modules. > > > > > > I removed all the Actions such as ScheduleRoot, ForceReboot from the MSI > > > file. In addition, I added REBOOT in the property table and set its value > > > to > > > ReallySuppress. > > > > > > I installed it from command prompt with following command. > > > > > > msiexec /i myprogram.msi /qn /log my.log > > > > > > The program was installed properly and there was no MSI dialog box and > > > reboot. > > > > > > However, when I tried to uninstall the program with following command > > > > > > msiexec /x myprogram.msi /qn /log my.log > > > > > > The computer automatically rebooted after removing all the files. > > > > > > I thought that the REBOOT property would suppress the reboot generated by > > > the MSI installer. > > > > > > I also tried input arguments of /norestart and REBOOT=reallysuppress and > > > they still could not stop the reboot. > > > > > > I took a look at the MSI.log and found that the REBOOT property was > > > changed > > > to ForceReboot. > > > > > > I am very confused about who changed the REBOOT property since I did not > > > seem to be able to find any operation in the log that changed the REBOOT. > > > > > > I tried to attach the log but it made the post too long. > > > > > > Thank you very much > > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|