Re: [WiX-users] Overriding WIXUI_INSTALLDIR

2015-05-11 Thread Joseph L. Casale
> I am using a dialog indirectly. That dialog presents the results of a CA > that collects info > about the windows server that the user is installing on. Based on a choice > presented to > the user, it then publishes a value which the browse dialog uses > (INSTALLDIR). This provides > the sane

Re: [WiX-users] Overriding WIXUI_INSTALLDIR

2015-05-11 Thread Joseph L. Casale
Trying that again: > WIXUI_INSTALLDIR expects a property. Generally, it is statically set in the > Property Table. > Probably what you want is to update the value of the property at > [WIXUI_INSTALLDIR]. > If it runs before InstallDirDlg, you should be able to just update the value > of that p

Re: [WiX-users] Overriding WIXUI_INSTALLDIR

2015-05-11 Thread Joseph L. Casale
> WIXUI_INSTALLDIR expects a property. Generally, it is statically set in the > Property Table. > Probably what you want is to update the value of the property at > [WIXUI_INSTALLDIR]. > If it runs before InstallDirDlg, you should be able to just update the value > of that property > with the p

[WiX-users] Overriding WIXUI_INSTALLDIR

2015-05-11 Thread Joseph L. Casale
I have a dialog that runs before InstallDirDlg and uses a remembered property that is to construct the full installation path. A dialog that runs before InstallDirDlg -- One dashboard for servers and applications across Ph

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Joseph L. Casale
> Sure there is: > > > > > > > See Using Project References and Variables > > > for more preprocessor variables, and Preprocessor >

Re: [WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-15 Thread Joseph L. Casale
> In your project file add property value: > > Condition="'$(Configuration)'=='Debug'">$(DefineConstants);MyConfig=MyDebugValue > Condition="'$(Configuration)'=='Release'">$(DefineConstants);MyConfig=MyReleaseValue

[WiX-users] Setting property values based on Visual Studio build configurations.

2015-04-14 Thread Joseph L. Casale
I want to build an msi under debug with a specific set of values (that make sense in my dev env) versus release (which make sense in a prod env). As they are all public, users can modify them via the command line however they all populate default values used in various dialogs and it would be ti

[WiX-users] Populating registry multiString MultiStringValue elements

2015-03-31 Thread Joseph L. Casale
I want to implement a listbox with optional entries to later insert into a registry multiString RegistryValue. What is the approach used here to perform this as the MultiStringValue's obviously will need to be dynamically added? Is the only way a CA that writes the values out? Thanks, jlc --

Re: [WiX-users] Custom actions in C# and disabling buttons

2015-03-12 Thread Joseph L. Casale
> How about having the custom action set a property if the condition is met, > and having the NewDialog event be conditioned on that property? Hi Nir, What I ended up doing was creating a validate button which invokes a custom action which sets a hidden property enabling the next button. This prov

[WiX-users] Custom actions in C# and disabling buttons

2015-03-09 Thread Joseph L. Casale
I have a dialogue that executes a custom action to validate user specified input however it returns ActionResult.Failure in the event the user supplied data is not accurate. That's rather abrupt and unneeded, however I can not seem to work around a condition to disable the next action. How does on

Re: [WiX-users] RegistrySearch on click

2015-03-06 Thread Joseph L. Casale
> I think you’d have to write your own VB script/DLL custom action to: > 1. Read the user’s input from a property > 2. Read the existing value from the registry - > http://stackoverflow.com/questions/34065/how-to-read-a-value-from-the-windows-registry > 3. Write a property (or don’t) if the user’s

Re: [WiX-users] RegistrySearch on click

2015-03-06 Thread Joseph L. Casale
Trying that again... I have been searching around for a while without luck on the approach used to initiate a RegistrySearch using a value entered in a text field when the user presses next in a dialog. The best I could come up with was publishing a DoAction event in the next button control. Howe

[WiX-users] RegistrySearch on click

2015-03-06 Thread Joseph L. Casale
I have been searching around for a while without luck on the approach used to initiate a RegistrySearch using a value entered in a text field when the user presses next in a dialog. The best I could come up with was publishing a DoAction

Re: [WiX-users] ServiceInstall/ServiceControl name attribute restrictions

2015-03-05 Thread Joseph L. Casale
> http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/ Much appreciated, this installer at a later must support multiple instances at which point then this will all fit together, no need for a static location as I assume we can compile an extension to enumerate t

Re: [WiX-users] ServiceInstall/ServiceControl name attribute restrictions

2015-03-05 Thread Joseph L. Casale
Trying that again... When I pass a variable reference such as "[FOO]_[BAR]" to the name attribute of both a ServiceInstall and ServiceControl element the package installs fine however when uninstalling the service is left running without being stopped and removed. When I pass a literal string, the

[WiX-users] ServiceInstall/ServiceControl name attribute restrictions

2015-03-05 Thread Joseph L. Casale
When I pass a variable reference to the name attribute of both a ServiceInstall and ServiceControl -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with

Re: [WiX-users] Setting install directory to a user chosen value.

2015-03-04 Thread Joseph L. Casale
> The dialog that asks for MYID should be sequenced before the dialog that asks > for INSTALLFOLDER. > On the MYID dialog's "Next" button you should add the Publish element that > sets INSTALLFOLDER to [CompanyName]\[MYID]. > > Does that make sense? Yup, that was the missing bit. Much appreciated.

Re: [WiX-users] Setting install directory to a user chosen value.

2015-03-04 Thread Joseph L. Casale
> You have several options to do that: > 1. Author a SetProperty > > element that will append the string entered by the user > 2. Author a Publish > >

[WiX-users] Setting install directory to a user chosen value.

2015-02-28 Thread Joseph L. Casale
I have a dialogue that asks a user for a string value, how do I pre populate this as the final child directory in the install path? I present the user with an install location dialogue that defaults to c:\program files\company\xxx and I want xxx to be the same as the string chosen? Thanks! jlc -