You'd have this problem even if you weren't using the xml file and instead provided the property values via the command line. You'll probably want to store the property values in the registry and use RegistrySearch to get the saved values.
Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: lewisv [mailto:le...@nitorco.com] > Sent: Wednesday, March 31, 2010 4:39 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] read a file + advertise > > > I don't want to rely on my end users to tell me certain installation > settings. So i decided to make a xml file that that is located in the > same > dir as the msi, i then read and parse with custom action, and write > those > settings to my users computer. > > I just ran into an issue, i was using advertised shortcut, and when a > brand > new user tries to run the application ( the app has been installed, but > this > user has not run it) it runs the cached msi file. Which of course does > not > have the xml file with it. So my settings are all screwed up. > > I figure i can remove the advertise, and that should work. But is there > another way. > Am i doing this the correct way overall? > > -- > View this message in context: http://n2.nabble.com/read-a-file- > advertise-tp4834153p4834153.html > Sent from the wix-users mailing list archive at Nabble.com. > > ----------------------------------------------------------------------- > ------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users