MSI Install Folder Composed with Value from Radio Dialog

Posted by Don Vince on Stack Overflow See other posts from Stack Overflow or by Don Vince
Published on 2010-04-22T00:12:37Z Indexed on 2010/04/22 0:13 UTC
Read the original article Hit count: 369

Filed under:
|
|

I'm using .NET2, I have an installer project.

In the User Interface, I've created a RadioButtons (3 Buttons) dialog box.

I've placed it before the Installation Folder Dialog.

I wish to incorporate the value selected in the RadioButtons dialog as part of the Installation Folder.

To do this I've placed the name of the variable amongst the path where I wish to use it in the DefaultLocation:

  [ProgramFilesFolder][Manufacturer]\[ProductName]\[BUTTON3]

The effect of this is that the default value for the variable, BUTTON3 in the example above, is resolved as part of the folder, not the selected value.

Anybody know how to make this variable use delayed expansion in some way to get the selected value?

© Stack Overflow or respective owner

Related posts about msi

Related posts about installer