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
ÿþA c t i o n e n d e d 1 4 : 1 8 : 5 8 :
I n s t a l l I n i t i a l i z e . R e t u r n v a l u e 1 .
A c t i o n s t a r t 1 4 : 1 8 : 5 8 : F o r c e R e b o o t .
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 8 : 5 8 : 2 4 8 ] :
E x e c u t i n g o p :
P r o d u c t U n r e g i s t e r ( U p g r a d e C o d e = { 9 F E E 1 A 0 0 - 4 C C C - 4 D B 0 - A D 9 9 - 6 7 7 3 C D 2 3 C B 1 E } )
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 8 : 5 8 : 2 6 8 ] : N o t e :
1 : 1 4 0 2 2 :
U N K N O W N \ P r o d u c t s \ C D 4 F F B F F A 3 1 6 5 F 0 4 E 9 0 3 4 6 9 1 8 A 8 E 1 F B 4 \ T r a n s f o r m s
3 : 2
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 8 : 5 8 : 2 6 8 ] : N o t e :
1 : 1 4 0 2 2 :
U N K N O W N \ P r o d u c t s \ C D 4 F F B F F A 3 1 6 5 F 0 4 E 9 0 3 4 6 9 1 8 A 8 E 1 F B 4 \ T r a n s f o r m s
3 : 2
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 8 : 5 8 : 2 6 8 ] :
S c h e d u l i n g f i l e
' C : \ W I N D O W S \ I n s t a l l e r \ 9 2 1 7 d . m s i ' f o r
d e l e t i o n d u r i n g p o s t - i n s t a l l c l e a n u p
( n o t p o s t - r e b o o t ) .
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 8 : 5 8 : 2 8 8 ] : N o t e :
1 : 1 4 0 2 2 :
U N K N O W N \ P r o d u c t s \ C D 4 F F B F F A 3 1 6 5 F 0 4 E 9 0 3 4 6 9 1 8 A 8 E 1 F B 4 \ U s a g e
3 : 2
A c t i o n e n d e d 1 4 : 1 8 : 5 8 : F o r c e R e b o o t .
R e t u r n v a l u e 4 .
A c t i o n e n d e d 1 4 : 1 8 : 5 8 : I N S T A L L . R e t u r n
v a l u e 4 .
M S I ( c ) ( 2 0 : 5 8 ) [ 1 4 : 1 8 : 5 8 : 3 8 8 ] : F o n t
c r e a t e d . C h a r s e t : R e q = 0 , R e t = 0 , F o n t :
R e q = M S S h e l l D l g , R e t = M S S h e l l D l g
T h e i n s t a l l e r m u s t r e s t a r t y o u r s y s t e m
b e f o r e c o n f i g u r a t i o n o f U n l i m i t e d D a t a
M a n a g e r 4 . 0 . 0 c a n c o n t i n u e . C l i c k Y e s
t o r e s t a r t n o w o r N o i f y o u p l a n t o
m a n u a l l y r e s t a r t l a t e r .
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 9 : 2 0 : 8 9 0 ] :
C l e a n i n g u p u n i n s t a l l e d i n s t a l l
p a c k a g e s , i f a n y e x i s t
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 9 : 2 0 : 9 0 0 ] :
P o s t - i n s t a l l c l e a n u p : r e m o v i n g
i n s t a l l e r f i l e
' C : \ W I N D O W S \ I n s t a l l e r \ 9 2 1 7 d . m s i '
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 9 : 2 0 : 9 0 0 ] :
P o s t - i n s t a l l c l e a n u p : r e m o v i n g
i n s t a l l e r f i l e
' C : \ W I N D O W S \ I n s t a l l e r \ { F F B F F 4 D C - 6 1 3 A - 4 0 F 5 - 9 E 3 0 - 6 4 1 9 A 8 E 8 F 1 4 B } \ i n s t i c o n . i c o '
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 9 : 2 0 : 9 0 0 ] :
P o s t - i n s t a l l c l e a n u p : r e m o v i n g
i n s t a l l e r f o l d e r
' C : \ W I N D O W S \ I n s t a l l e r \ { F F B F F 4 D C - 6 1 3 A - 4 0 F 5 - 9 E 3 0 - 6 4 1 9 A 8 E 8 F 1 4 B } \ '
( i f e m p t y )
M S I ( s ) ( B 4 : D 4 ) [ 1 4 : 1 9 : 2 0 : 9 1 0 ] :
M a i n E n g i n e T h r e a d i s r e t u r n i n g 1 6 4 1
M S I ( s ) ( B 4 : C C ) [ 1 4 : 1 9 : 2 0 : 9 1 0 ] :
D e s t r o y i n g R e m o t e A P I o b j e c t .
M S I ( s ) ( B 4 : 0 C ) [ 1 4 : 1 9 : 2 0 : 9 1 0 ] : C u s t o m
A c t i o n M a n a g e r t h r e a d e n d i n g .
= = = L o g g i n g s t o p p e d : 1 0 / 4 / 2 0 0 6
1 4 : 1 9 : 2 0 = = =
-------------------------------------------------------------------------
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