It would also be useful to know if the install works when there is
nothing to upgrade.  

Phil Wilson 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Wednesday, March 28, 2007 8:16 AM
To: Vishal Srivastava
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Major upgrade problems (with installation of
new product, post removal of old)


Vishal Srivastava wrote: 

        The InstallValidate action does appear twice in the log;
however the first time is the new product's install and the second is
the old product's uninstall (since I scheduled RemoveExistingProducts
after InstallValidate)... could this be part of the problem?


No, that's the right spot given an all-new installer.



                As for the new product's InstallValidate logging, I see
"Installed: Absent;   Request: Local;   Action: Local" for each Feature
and Component defined in the new installer.  This is what's expected,
correct?


Yes. So the next step is to look at the actual installation op-codes.
Search the log for InstallFinalize to see where MSI starts running the
install script. The old product uninstall should have op-codes like
ComponentUnregister and FileRemove. Then you'll see ComponentRegister
and FileCopy for the install -- or you should. Each FileCopy op-code
writes something like:

File: C:\Path\File.ext;    To be installed;    Won't patch;    No
existing file


-- 
sig://boB
http://bobs.org


-------------------------------------------------------------------------
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