Hi list...

My question is probably related to Windows Installer (not  to WiX)
but anyway...

I want to use ForceReboot standard action during uninstallation of
the product.
(ForceReboot will ask for immediate reboot of computer and schedule
the installation to continue after reboot)

I have scheduled the ForceReboot action to run right after
InstallInitialize (requirement from MSDN).

Everything works as expected, but after reboot the installer ends
with error:
"The installation package could not be opened. Verify that the
package exists and that..."

Problem is that the msiexec wants to start the temporary file in
C:\Windows\Installer\ which was deleted (and this is problem) during
cleanup before reboot.

See the excerpt from the log in attachment for details.

Am I doing something wrong? Or the ForceReboot action just should
not be used during uninstall?

Thanks for any response...

Stefan




-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

ÿþAction ended 14:18:58: 
InstallInitialize. Return value 1.

Action start 14:18:58: ForceReboot.

MSI (s) (B4:D4) [14:18:58:248]: 
Executing op: 
ProductUnregister(UpgradeCode={9FEE1A00-4CCC-4DB0-AD99-6773CD23CB1E})

MSI (s) (B4:D4) [14:18:58:268]: Note: 
1: 1402 2: 
UNKNOWN\Products\CD4FFBFFA3165F04E90346918A8E1FB4\Transforms
 3: 2 

MSI (s) (B4:D4) [14:18:58:268]: Note: 
1: 1402 2: 
UNKNOWN\Products\CD4FFBFFA3165F04E90346918A8E1FB4\Transforms
 3: 2 

MSI (s) (B4:D4) [14:18:58:268]: 
Scheduling file 
'C:\WINDOWS\Installer\9217d.msi' for 
deletion during post-install cleanup 
(not post-reboot).

MSI (s) (B4:D4) [14:18:58:288]: Note: 
1: 1402 2: 
UNKNOWN\Products\CD4FFBFFA3165F04E90346918A8E1FB4\Usage
 3: 2 

Action ended 14:18:58: ForceReboot. 
Return value 4.

Action ended 14:18:58: INSTALL. Return 
value 4.

MSI (c) (20:58) [14:18:58:388]: Font 
created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg


The installer must restart your system 
before configuration of Unlimited Data 
Manager 4.0.0 can continue.  Click Yes 
to restart now or No if you plan to 
manually restart later.



MSI (s) (B4:D4) [14:19:20:890]: 
Cleaning up uninstalled install 
packages, if any exist

MSI (s) (B4:D4) [14:19:20:900]: 
Post-install cleanup: removing 
installer file 
'C:\WINDOWS\Installer\9217d.msi'

MSI (s) (B4:D4) [14:19:20:900]: 
Post-install cleanup: removing 
installer file 
'C:\WINDOWS\Installer\{FFBFF4DC-613A-40F5-9E30-6419A8E8F14B}\insticon.ico'

MSI (s) (B4:D4) [14:19:20:900]: 
Post-install cleanup: removing 
installer folder 
'C:\WINDOWS\Installer\{FFBFF4DC-613A-40F5-9E30-6419A8E8F14B}\'
 (if empty)

MSI (s) (B4:D4) [14:19:20:910]: 
MainEngineThread is returning 1641

MSI (s) (B4:CC) [14:19:20:910]: 
Destroying RemoteAPI object.

MSI (s) (B4:0C) [14:19:20:910]: Custom 
Action Manager thread ending.

=== Logging stopped: 10/4/2006  
14:19:20 ===

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to