The path of the CommonAppData directory is found in the "CommonAppData"
property after CostFinalize. The same with all the entries in the Directory
table.

-----Original Message-----
From: Joshua Chambers [mailto:jos...@tdronline.com] 
Sent: Tuesday, June 01, 2010 12:43 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] InstallExecuteSequence problem!


I am now working on getting the custom action going to back up the existing
settings.xml file.  I am using this page as a guide:

http://blogs.msdn.com/b/jasongin/archive/2008/05/23/custom-action-project-te
mplates.aspx

I have created a custom action project, and it builds.  I am a bit confused
though, can I pass the directory and name of the file I want to back up from
WiX or do I need to hardcode it?  The settings file is located in the
"CommonAppData" directory (in XP C:\Documents and Settings\All
Users\MyApplicationName\Settings.xml is the file I need to back up).  How
can I pass that to C# to reference it?

Then when I'm referencing the custom action in WiX, that page makes a
mention of "TargetDir" and "TargetName"... what does it mean by this?

Oh my goodness, I'm so confused... a little more help, please!

THANK YOU!
Joshua

-- 
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/InstallExecute
Sequence-problem-tp5126839p5127672.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to