You'll have to create a custom action. WiX extensions can only
I'd recommend a C++ custom action that uses MSXML (or XmlLite? unfortunately
can't rely on that being there) to parse the XML and set the properties.
Frankly an INI would be easier and cleaner (you could do 99% of the work
with GetPrivateProfileSection). XML is overkill for this purpose, since
there's no hierarchy to speak of, and probably more prone to being broken
with out-of-date/security-'fixed' XML parsers.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert O'Brien
Sent: 29 March 2008 21:24
To: 'Bob Arnson'
Cc: 'wix-users@lists.sourceforge.net'
Subject: Re: [WiX-users] does current wix drop provide support for a public
property such as "msiexec /i myservicedeliverable.msi
propertySettings=environmentSpecificPropertySettings.xml ..."?
I might think a generic implementation to support this scenario of allowing
users to define public property values on the command line and/or in a
single xml file would involve a customAction sequenced to process right up
front during install/unstall and simply read the one per line property=value
settings from the public property "PROPERTYSETTINGS" defined xml file path
and applied them to the msi session object exposed public properties.
Would you think a person would have to create an extension or simply a
custom action managed (javascript or dtf managed msi library implementation)
that gets sequenced to process b4/after ??? to enable this?
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2008 1:44 PM
To: Robert O'Brien
Cc: 'wix-users@lists.sourceforge.net'
Subject: Re: [WiX-users] does current wix drop provide support for a public
property such as "msiexec /i myservicedeliverable.msi
propertySettings=environmentSpecificPropertySettings.xml ..."?
Robert O'Brien wrote:
does current wix drop provide support for a public property such as "msiexec
/i myservicedeliverable.msi propertySettings=
environmentSpecificPropertySettings.xml ..." where
environmentSpecificPropertySettings.xml consists of a single public
property=value pairs on each line that you might have otherwise set directly
on the command line but would prefer to keep them all in xml file so as to
remove changes of command line entry mistakes.
Not today.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users