Hi Bob...

For #2, we have some installation stuff we only want done once (the stuff that 
the custom action does).  So the first thing the custom action exe does is try 
to check the registry setting to see if it's been done (that's what's failing 
now).  When the custom action code is done, it sets that registry flag to show 
it's been done.  As I said a lot that stuff just used to slide by in Windows 
Server 2003 when running as an administrator...

Thanks
Mark


-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Tuesday, July 19, 2011 11:45 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 to 
2010

On 19-Jul-11 11:10, Mark Modrall wrote:
> 1) Looking at the installer log, it's unpacking into a directory other than 
> the INSTALLDIR; throughout I've been a little confused going to 3.5 about the 
> relation of INSTALLDIR and TARGETDIR; did TARGETDIR supplant/replace 
> INSTALLDIR?  As noted before, I used to have my root<Directory 
> Id="INSTALLDIR">  and 3.5 said it had to be TARGETDIR; was I to take from 
> that it should be TARGETDIR throughout?

WiX v2 and v3 have the same requirements about TARGETDIR, because that's 
what MSI requires. INSTALLDIR is just a convention.

> 2) I have a custom action in my installer, and that needs to look at/tweak 
> registry settings.

Custom actions should be avoided for things like registry that MSI 
already handles. What do you need to do that you can't do in MSI?

-- 
sig://boB
http://joyofsetup.com/


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to