Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Windows MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 05-05-2010, 01:01 AM   #1 (permalink)
axu
Guest
 
Posts: n/a
Default Cannot suppress reboot when uninstalling MSI package

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
  Reply With Quote
Old 05-05-2010, 02:01 AM   #2 (permalink)
Wilson, Phil
Guest
 
Posts: n/a
Default Re: Cannot suppress reboot when uninstalling MSI package

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


  Reply With Quote
Old 05-06-2010, 05:01 PM   #3 (permalink)
axu
Guest
 
Posts: n/a
Default Re: Cannot suppress reboot when uninstalling MSI package

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

>

  Reply With Quote
Old 05-06-2010, 09:01 PM   #4 (permalink)
axu
Guest
 
Posts: n/a
Default Re: Cannot suppress reboot when uninstalling MSI package

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

> >

  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:21 AM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com