Where will you be getting your version information from? You could use a 
MSBuild task to read it from an ini and set both a MSBuild property and a Wix 
Define. If you want the version information to be set via your primary exe you 
could look at 
http://stackoverflow.com/questions/626033/how-can-i-set-the-wix-installer-version-to-the-curent-build-version,
 though that won't allow you to push anything back to MSBuild where the output 
file name is.


-----Original Message-----
From: j2associates [mailto:j2associa...@yahoo.com] 
Sent: Friday, February 08, 2013 8:48 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How can I set/change the generated msi name from 
within product.wxs

Christopher Painter-2 wrote
> Now when you call MSBUILD you pass in /p:WiXProductVersion=1.2.3  and 
> you'll get an MSI with that in the name and that version in the 
> property table.

Would I need to do some kind of custom action for the part referenced above?
Are you talking about a manual step where you pass the above as a command line 
parm? We are new to Wix and just have a standard Product.wxs that generates the 
msi for us. 




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-can-I-set-change-the-generated-msi-name-from-within-product-wxs-tp7583427p7583429.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 and get the 
hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to