[WiX-users] Pass value from command line to Custom action-Burn

2014-12-08 Thread leena c
I am in a need to pass the value from command line to custom action.The custom action should get the value from command line and modify one file(app.config) during installation of EXE.I have the below code in custom action if (Context.Parameters["ENV"] == "test") //Test environment

[WiX-users] Pass value from command line to Custom action-Burn

2014-12-08 Thread LeenaKarthik
I am in a need to pass the value from command line to custom action.The custom action should get the value from command line and modify one file(app.config) during installation of EXE.I have the below code in custom action if (Context.Parameters["ENV"] == "test") //Test environment

Re: [WiX-users] Cant get util:RemoveFolderEx to work on network drive

2014-12-08 Thread Namrata Kumari
Exactly as Rob said, I wrote about installer property not specific WiX. In your's case, try deleting the files manually with same user install is running or using command prompt and see if you get any error or try below : 1. Files are in use (by any other program) 2. Lack appropriate permission on

Re: [WiX-users] Cant get util:RemoveFolderEx to work on network drive

2014-12-08 Thread Namrata Kumari
I meant, if you have permission. As Rob said, not WiX its Installer property. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Cant-get-util-RemoveFolderEx-to-work-on-network-drive-tp7598399p7598483.html Sent from the wix-users mailing list archive

Re: [WiX-users] Always show the option dialog[P]

2014-12-08 Thread Steven Ogilvie
Gary I can help you out tomorrow My first screen is a welcome screen then next goes to license screen with an install button on that screen Steve Steve Ogilvie Sent from my BlackBerry Z10 garymonk wrote: I have a bundle that shows the license agreement and i

[WiX-users] Always show the option dialog

2014-12-08 Thread garymonk
I have a bundle that shows the license agreement and it has a button to go to an option dialog. From the option dialog you can set the option and then close the dialog going back to the license agreement. from there you can install the application if you've agreed to the license. I want to go from

Re: [WiX-users] Wix bootstrapper - default value for custom string field

2014-12-08 Thread Sean Hall
This is a reported issue about the default value for editboxes. http://wixtoolset.org/issues/4496/ On Mon, Dec 8, 2014 at 12:55 PM, Jeff Fisher wrote: > I’ve added a couple of Editbox fields and a Checkbox to the Options page > in one of the standard Bootstrapper themes, and hooked these up with

Re: [WiX-users] Using DllImport inside Wix Custom Action shows DLL Error

2014-12-08 Thread Phil Wilson
There is a collection of standard properties that Windows Installer supplies: http://msdn.microsoft.com/en-us/library/aa370905(v=vs.85).aspx about the system, the install state, standard folders etc. --- Phil Wilson On Sun, Dec 7, 2014 at 6:59 AM, Sarvagya Pant wrote: > Yes this wo

Re: [WiX-users] CheckBox control state modified by user

2014-12-08 Thread Majcica, Mario
I found the problem. I was missing to set the CheckBoxValue property. Now setting it in the following way Works as expected. Thanks however! -Original Message- From: Majcica, Mario [mailto:mario.majc...@bakerhughes.com] Sent: Monday, December 08, 2014 19:58 To: General discus

Re: [WiX-users] CheckBox control state modified by user

2014-12-08 Thread John Cooper
To be useable on both the UI and Exec sides, your property needs a Secure="yes" attribute. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext: 431050 |jocoo...@jackhenry.com

[WiX-users] Wix bootstrapper - default value for custom string field

2014-12-08 Thread Jeff Fisher
I’ve added a couple of Editbox fields and a Checkbox to the Options page in one of the standard Bootstrapper themes, and hooked these up with corresponding Burn Variables (string and number as appropriate). In terms of functionality, the new fields appear to work as expected, and the correct va

Re: [WiX-users] CheckBox control state modified by user

2014-12-08 Thread Majcica, Mario
Hi John, My problem is that the check box is read only on the installer side. Meanwhile if I set my property via code it works fine. The problem is that after that I can't modify the state of the control during install. Any clue? Thanks -Original Message- From: John Cooper [mailto:joc

Re: [WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread Phill Hogland
Jacob has detailed the approach to take, using a bundle (not msi) to conditionally instal other msi (or exe/bundle) packages. There are some more examples of modifying an options dialog at: https://wixextba.codeplex.com/SourceControl/latest#Examples/Bundle10.wxs Since the extended bootstrapper f

Re: [WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread garymonk
If I create a bundle for the client can I use the standard bootstrapper? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-a-feature-set-that-installs-an-msi-and-a-bundle-exe-tp7598468p7598472.html Sent from the wix-users mailing list

Re: [WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread John Cooper
If you're looking for a nested MSI, that had not been support by the Windows Installer Service for a long time. If you want a Feature Tree interface on a bootstrapper, you'll need a custom BA. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing De

Re: [WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread garymonk
Thanks for the reply. I would prefer two bundles, which I sort of have now. Currently I have an msi for the client and a bundle for the server because of the SQL Server requirement. How can I combine them into a single msi/exe with each one being a feature on a feature tree? Thanks, Gary --

Re: [WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread Hoover, Jacob
Two options that come to mind are: Two bundles, one for the client, and one for the server. A single Bundle which conditionally installs the server components. Use a check box on the install or options page (you'll need a custom theme if your using WixStdBA) tied to a burn variable to dete

[WiX-users] How to create a feature set that installs an msi and a bundle exe

2014-12-08 Thread garymonk
I have an application that consists of two components, a client and a server. The client will always get installed and the server is optional. If the server is selected to be installed SQL Server also needs to be installed as a prereq. I have created a separate msi for the client. For the server I

Re: [WiX-users] CheckBox control state modified by user

2014-12-08 Thread John Cooper
Check boxes are NOT set to "0" when unchecked. Effectively, the property is set to string.Empty which undefines it. The property will be set ONLY if the check box is "checked." To check for the property being unset, use NOT VS2012CHECKED. -- John Merryweather Cooper Senior Software Engineer

[WiX-users] CheckBox control state modified by user

2014-12-08 Thread Majcica, Mario
Dear group, Inside my custom dialog I do have a checkbox defined in the following way And I defined a property After which I'm setting that property to 1 in case VS2012DEVENV is not 0 (VS 2012 installed) Now once I set this code, I do see my check box being set or un

Re: [WiX-users] AdvertiseFlags - what do they mean?

2014-12-08 Thread Phill Hogland
I would 'guess' that it is an internal implementation detail of MSI (not related to WiX, but to the following MSI functionality) http://msdn.microsoft.com/en-us/library/aa367548%28v=vs.85%29.aspx http://technet.microsoft.com/en-us/library/cc782152%28v=ws.10%29.aspx -- View this message in cont

[WiX-users] AdvertiseFlags - what do they mean?

2014-12-08 Thread gapearce
Is there a definition of AdvertiseFlags anywhere that makes sense? I see in the MSI.H file there are two values - installed per user (1), or installed per machine (0). But in the registry for the installed product ([HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products]), I am seeing values like