[WiX-users] R: read a regkey with special permission

2014-03-10 Thread Bo Zhang [fabbricadigitale]
Would util:RegistrySearch be helpful for you? Bo -Messaggio originale- Da: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Inviato: giovedì 6 marzo 2014 20.26 A: General discussion about the WiX toolset. Oggetto: Re: [WiX-users] read a regkey with special permission Nan, From where

Re: [WiX-users] Unable to install different versions of an application

2014-03-10 Thread Suvrajyoti Panda
Thanks for the confirmation Phil. I would try to find a solution to the same. On 08-03-2014 00:17, Phil Wilson wrote: I don't believe that any of that is possible using anything in Windows Installer or WiX, unless you build your own Burn functionality. It seems to me that you'd need to

[WiX-users] How to show Maintenance Dialog option in custom BA

2014-03-10 Thread Saravana1109
Hi, I am using wix 3.7. Created a custom bootstrapper application and bundle for installing msi file. I didn't face any problem in installation. If we will re-run the setup file after installed, need to show the maintenance dialog options (Modify, Repair, Remove) like in MSI. How can we

[WiX-users] How to have the shortcut name same as the installation directory

2014-03-10 Thread Suvrajyoti Panda
Hi All, I have the below directory structure: Directory Id=TARGETDIR Name=SourceDir Directory Id=ENERGYSOLUTIONS Name=$(var.rootFolder) Directory Id='PFWLOCAL' Name=$(var.installFolder) /Directory /Directory Directory Id=DesktopFolder Name=Desktop

[WiX-users] R: read a regkey with special permission

2014-03-10 Thread Bo Zhang [fabbricadigitale]
Sorry for miss-reading your original post. What about setting ACL through util:PermissionEx before reading it? -Messaggio originale- Da: Bo Zhang [fabbricadigitale] Inviato: lunedì 10 marzo 2014 10.10 A: General discussion about the WiX toolset. Oggetto: [WiX-users] R: read a regkey

[WiX-users] Fwd: How to have the shortcut name same as the installation directory

2014-03-10 Thread Suvrajyoti Panda
Adding on to this, i would like to use values supplied in the dialogues of the installer. Also i would like to use one dialogue for the installation path and the other for the installation directory. Please let me know how i can achieve this. Regards, Suvra Jyoti Original Message

Re: [WiX-users] Burn solution... [P]

2014-03-10 Thread Pally Sandher
Other than increasing the size of your binaries I don't see much of an issue. Why do you need CString specifically? Palbinder Sandher Software Platform Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment**

Re: [WiX-users] util:CloseApplication and EndSessionMessage

2014-03-10 Thread Tom Brezinski
Is there a target date or quarter for the v3.9 release? If it's too far out I'll come up with a different solution but hate to do extra work if v3.9 will likely be out within my development window. -Original Message- From: Rob Mensching [mailto:r...@firegiant.com] Sent: Thursday,

Re: [WiX-users] Burn solution... [P]

2014-03-10 Thread Steven Ogilvie
Classification: Public On all my Bootstrappers I added the Action Text text control. BUT it was putting a lot of garbage in front of the Action Text... i.e. Action time function name if merge module action text, GUID Action Text I ended up changing a few things: 1. took '.' out of my progress

[WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-10 Thread Arthur, Christopher
Hi, what's the best way of Installing HP LaserJet 4 with wix ? I've found no straight forward documentation to achieve my goal. Sincerly Christopher Arthur Wichtiger Hinweis: Diese E-Mail und etwa angeh?ngte Dateien k?nnen vertrauliche Informationen enthalten und sind ausschlie?lich f?r

Re: [WiX-users] Fwd: How to have the shortcut name same as the installation directory

2014-03-10 Thread Phil Wilson
I don't believe this is possible using the standard shortcut creation methods. The issue is that the underlying functionality is the Shortcut table of the MSI file, and the name is not a variable that can be specified with a property (it's not the Formatted type). That means you will need to

[WiX-users] How to read an MSI's Product GUID from Bootstrapper Application?

2014-03-10 Thread Mike Tanfield
Hi all, The project I am working on has a main executable and multiple optional components (each has its own MSI) that a user can choose from when running the bootstrapper. The project uses third-party software that checks for updates when the main executable is launched. In order for the

Re: [WiX-users] Fwd: How to have the shortcut name same as the installation directory

2014-03-10 Thread Hoover, Jacob
I believe you'd have to look into semi-custom actions. Idea is at runtime injecting new records into the needed tables just early enough so that standard windows installer functionality does the heavy lifting. Note, you need to ensure this happens in all instances for

Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-10 Thread Tom Brezinski
I think you will need to write a custom action that uses the AddPrinter api. DIFxApp is probably out of the question since you don't have driver files. HP says for that printer with all current versions of Windows to use the drivers included with the OS. See AddPrinter:

Re: [WiX-users] Noob creating a Custom Action in Wix 3.8

2014-03-10 Thread Nick Ramirez
Is your installer installing at least one thing, such as a dummy text file? The install won't run otherwise. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Noob-creating-a-Custom-Action-in-Wix-3-8-tp7593140p7593249.html Sent from the wix-users

Re: [WiX-users] util:CloseApplication and EndSessionMessage

2014-03-10 Thread Rob Mensching
Last we talked, we were thinking this summer. ___ FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/ -Original Message- From: Tom Brezinski [mailto:to...@networkinstruments.com] Sent: Monday,

[WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
Hi there, I want to make a backup of a file during a major upgrade. The CopyFIle element is pretty much what I need, but I'd like to generate the destination file name on the fly to prevent name clashing. Is there a way to do this with WiX that doesn't require me to use a custom action? Cheers,

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Carter Young
I believe the SourceName Attribute is what you're looking for. http://wixtoolset.org/documentation/manual/v3/xsd/wix/copyfile.html Carter Quoting Soren Dreijer dreijer+l...@echobit.net: Hi there, I want to make a backup of a file during a major upgrade. The CopyFIle element is pretty much

Re: [WiX-users] Require fields/disable InstallButton in bootstrapper

2014-03-10 Thread Joel Dart
Thanks Harold, I've been trying to get custom actions to work from the WixStandardBootstrapperApplication without much luck. When I look in the xsd, it doesn't have Control as an option for Page. Additionally, when just trying to sub in Control for Button, the built bootstrapper immediately

[WiX-users] Bootstrapper question

2014-03-10 Thread Scott Moyer
Does anyone know if a Bundle/Chain can access a public property from a bundled msi? In the following example the CAMERATYPE property is set in Genius.msi ... ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Bundle Name=Genius Version=1.0.0

Re: [WiX-users] Require fields/disable InstallButton in bootstrapper

2014-03-10 Thread Bryan Wolf
The sample that Harold Wood posted is for MSI dialogs, not the burn bootstrapper. The standard bootstrapper is very limited in what it can do, unfortunately. Most of which is pretty hard coded. The Wix installer (in the burn solution) is a good sample on how to quickly write your own if

Re: [WiX-users] Bootstrapper question

2014-03-10 Thread Rob Mensching
No. There is no way for Packages to communicate Properties back to the Bundle. ___ FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/ -Original Message- From: Scott Moyer

Re: [WiX-users] Bootstrapper question

2014-03-10 Thread Hoover, Jacob
I fail to see how this would be useful, but I don't think there is anything today in place. The reason I question why you would do it is the condition would end up being a constant expression (either always being true or always being false). To me it seems like you'd want a BA with custom

Re: [WiX-users] database not installing

2014-03-10 Thread Harold Wood (H10 Capital)
I'm getting a weird error when I run my installer. *** Error parsing connection string: Could not find a part of the path '... WiX.publish.xml'.. The installer runs great on my dev box but hoses with that error when run on the test environment. Does anyone know how to get around this? Thanks

Re: [WiX-users] Require fields/disable InstallButton in bootstrapper

2014-03-10 Thread Harold Wood (H10 Capital)
The example I gave you is what is working for me. Below is the entire UI script. ?xml version=1.0 encoding=utf-8? Include !--Define the dialog to get the Server and Database name information from the user-- UI Id=Screen TextStyle Id=WixUI_Font_Normal FaceName=Tahoma Size=8 /

Re: [WiX-users] database not installing

2014-03-10 Thread John Cooper
What is the SQL database deployment technology you are using? VsdbCmd, SqlPackage, WiX, or other? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com

Re: [WiX-users] database not installing

2014-03-10 Thread John Cooper
My guess (only a guess) is that you're deploying with SqlPackage since the publish.xml contains the SqlCmdVars that will serve as the defaults (subject to overrides on the SqlPackage.exe command line). It is unusual to see much of any verbosity off of validating the connection string, so I

Re: [WiX-users] Bootstrapper question

2014-03-10 Thread Scott Moyer
There is a custom UI in Genius.msi that prompts for and sets the camera type property (as well as the number of cameras). I wonder if that ui can be moved from the MSI up to the BA? -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Monday, March 10, 2014

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
Hey Carter, That's not quite what I'm after (unless I'm misreading the docs). I want the *destination* file name to be uniquely generated, and as far as I can tell from the docs, only a unique short name will be generated if one isn't provided. Cheers, SOren On Mon, Mar 10, 2014 at 11:28 AM,

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Carter Young
I don't know how you would go about Randomizing the Names, but as long as the DestinationName contains a name different from the SourceName the file name will be different after the copy completes. Quote: SourceName: If this attribute is not specified (and this element is not nested under a

Re: [WiX-users] How to read an MSI's Product GUID from Bootstrapper Application?

2014-03-10 Thread Phill Hogland
Here is info on one approach. http://stackoverflow.com/questions/12846421/getting-display-name-from-packageid -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-read-an-MSI-s-Product-GUID-from-Bootstrapper-Application-tp7593246p7593265.html

Re: [WiX-users] database not installing

2014-03-10 Thread Harold Wood (H10 Capital)
WIX and dacpac -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, March 10, 2014 12:40 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] database not installing What is the SQL database deployment technology you are using?

Re: [WiX-users] database not installing

2014-03-10 Thread John Cooper
Well, somewhere along the line, you're generating a command line to SqlPackage.exe when you're deploying using a dacpac (all but one of my products deploy in this manner). A dacpac is generated from a sqlproj project. It's basically a renamed ZIP file with some SQL, some metadata, etc.

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
I don't know how you would go about Randomizing the Names, but as long as the DestinationName contains a name different from the SourceName the file name will be different after the copy completes. Yes, that's pretty much the point of DestinationName. :) What I'm looking for, however, is a way

[WiX-users] Uninstall condition for a MSI that dependency for other applications

2014-03-10 Thread bk1234
Hello Wix-users, I have two independent applications (let's call them ProductB and ProductC) that has dependency on application ProductA. I am using two different managed bootstrapper exe to bundle: Exe1: ProductA and ProductB Exe2: ProductA and ProductC Because of independent release cycles,

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Rob Mensching
What about using [Time]? ___ FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/ -Original Message- From: Soren Dreijer [mailto:dreijer+l...@echobit.net] Sent: Monday, March 10, 2014 3:38 PM To:

Re: [WiX-users] database not installing

2014-03-10 Thread Harold Wood (H10 Capital)
thanks -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, March 10, 2014 3:19 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] database not installing Well, somewhere along the line, you're generating a command line to

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
Hi Rob, As far as I can tell from the docs ( http://msdn.microsoft.com/en-us/library/aa372079%28v=vs.85%29.aspx), the format of the time might include a colon, such as 18:57:00, which isn't a valid file name on Windows. Cheers, Soren On Mon, Mar 10, 2014 at 4:06 PM, Rob Mensching

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Harold Wood (H10 Capital)
Set the name as a global property, generate the name in a custom action, there you can use datetime.Tostring(HHmmss ) to format it any way you like, then put the value back into the session object where you can now use it any way you like. -Original Message- From: Soren Dreijer

Re: [WiX-users] Generating a unique file name

2014-03-10 Thread Soren Dreijer
Hi Harold, Then we're back to doing a custom action, though, which means I can do anything I want, including calling GetTempFilePath() directly. :) Cheers, Soren On Mon, Mar 10, 2014 at 6:00 PM, Harold Wood (H10 Capital) v-wow...@microsoft.com wrote: Set the name as a global property,

[WiX-users] ICE03 or Unresolved reference

2014-03-10 Thread Dmitry Nechaev
Hi All I started to work with WIX and got stack with weird behaviour of WIX 3.8 for Visual Studio 2013. I'm trying to merge Crystal Reports msm module into the project as below: A File with Crystal Reports MSM: InstallExecuteSequence MsiPublishAssemblies Sequence=1502 /