get product version into gui

Any SharpSetup related discussions are welcome here including but not limited to questions about functionality, suggestions for improvements and technical questions.
reem
Posts: 9
Joined: Thu Jan 26, 2017 9:10 am

get product version into gui

Postby reem » Wed Jun 21, 2017 1:02 pm

Hello Tomasz,

is there a way to get product Defines from Product.Defines.wxi in the Gui project like we can get Components and Features . The aim is to read the product version and place it in the wizard.

Thanx in advance.

tomasz_grobelny
Posts: 463
Joined: Sat May 22, 2010 1:26 pm

Re: get product version into gui

Postby tomasz_grobelny » Sun Jun 25, 2017 10:17 pm

My suggestion would be to use Property tag in one of the .wxs files. Later this property could be read into Gui using MsiConnection.Instance.GetProperty.


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest