The install script I've inherited calls a Custom Action (written in C#).  The
routine reads an INI file that contains site specific information.  What's
needed is ability to change the value of a Property Id in the main Wix
script.  The Custom Action has a line "string sourceDir =
session["SourceDir"];" which contains the path to the MSI file.  The INI
file is contained in the same path.  Is it a fair presumption that if it is
able to read the installation directory information then it be able to
access other Property Id information?  I haven't worked with C# before so
experimentations with syntax options has been limited.  I tried looking for
options for 'session' but didn't recognise any option as being able to set a
property id.  Does anyone have suggestions for the C# syntax to use for
changing the value of a Property Id?

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Changing-the-value-of-a-Property-Id-from-a-C-Custom-Action-tp5696225p5696225.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to