Re: [WiX-users] using the internal msi ui

2012-07-02 Thread Sean Farrow
Hi: Ok, that makes sense. How do I go about populating the directory I want to install to based on the platform I'm installing on? My msi has stuff installed in to %program files% and %ProgramData% and has several defines for 32/64-bit. I'm quite happy to send the msi/compiled code. Any help app

Re: [WiX-users] using the internal msi ui

2012-07-02 Thread Rob Mensching
Your MSI UI shows up during the Apply() phase. Apply happens after you click the Install button in the wixstdba. On Mon, Jul 2, 2012 at 7:54 PM, Sean Farrow wrote: > Hi Fokes: > I'm just in the process of preparing a bundle with burn (the latest weekly > release). > My bundle markup looks as foll

[WiX-users] using the internal msi ui

2012-07-02 Thread Sean Farrow
Hi Fokes: I'm just in the process of preparing a bundle with burn (the latest weekly release). My bundle markup looks as follows: http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] Variable declaration for referenced objects

2012-07-02 Thread Jose, Arun non Unisys
Thanks Rob, Below link helped me in going forward. :) http://blogs.msdn.com/b/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx Thanks and Regards, Arun Jose -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 02 July 2012 18:16 To: Ge

Re: [WiX-users] Odd ICE Errors on Build

2012-07-02 Thread EGSRantis
Thanks John worked perfectly! Always entertaining when you think you've screwed something up somehow even though you haven't changed anything and it turns out it was the IDE's fault all along! Cheers, Alex -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble

Re: [WiX-users] Odd ICE Errors on Build

2012-07-02 Thread John H Bergman (XPedient)
I've seen this too. Sometimes it happens on the first build, sometimes after 6 or 7 hours of development; I've not found a consistent pattern. My AV does not scan my build directories, so I don't think it is an AntiVirus issue either. -Original Message- From: John Cooper [mailto:jocoo.

Re: [WiX-users] Odd ICE Errors on Build

2012-07-02 Thread John Cooper
I see this occasionally when running Visual Studio 2010. Closing an re-opening VS usually does the trick. Basically, it appears that VS or some process under it has locked the files/directories. Even if you're not running VS, it's probably something similar--something locking the files/direct

[WiX-users] Odd ICE Errors on Build

2012-07-02 Thread EGSRantis
Hello All, I have a project I've been working on which I got the MSI and EXE bootstrapper working for quite a while ago. Since then I haven't touched any of the WiX files but I've added new files and such. I tried to build it this afternoon and got some random errors (which seem to be difficult t

Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

2012-07-02 Thread Uma Harano
I created a minor upgrade where some components were deleted. It seemed to work. What are the potential problem I could face if I use minor upgrades when components need to be deleted? -Original Message- From: Uma Harano [mailto:uhar...@esri.com] Sent: Monday, July 02, 2012 8:31 AM To:

Re: [WiX-users] Burn Planning for upgrades.

2012-07-02 Thread Benjamin Bennett
Slight bit of confusion because all I did was roll the version number in the boot strapper , and it uninstalls and reinstalls. Is it suppose to work this way? I will dig around some more. Just confused On Mon, Jul 2, 2012 at 2:27 PM, Rob Mensching wrote: > It seems that SqlServerExpress2008 was

[WiX-users] Service Install with bad credentials causes rollback, no error dialog

2012-07-02 Thread john.burak
My installer receives credentials from the user then starts a service under them. If the user enters bad credentials or if the specified account doesn't have permission to install a Service, the installer rolls back with no error message. I think it's a long shot, but am I doing something wrong t

Re: [WiX-users] How to save return code from a command line CustomAction?

2012-07-02 Thread sergiocss
Thank you, Rob for the quick response. I'm surprised to learn that this basic functionality is not supported. I take it I will have to write a DLL or C# module to get the behavior I need, huh? Sergio. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.co

Re: [WiX-users] Burn Planning for upgrades.

2012-07-02 Thread Rob Mensching
It seems that SqlServerExpress2008 was actually planned to be uninstalled, not repaired. That makes sense since the InstallCondition evaluated to false (so the package should be removed from the machine). The BA can override the engine's default requested state in the OnPlanPackageBegin() callback

Re: [WiX-users] Using util:User with properties gives error.

2012-07-02 Thread Ted Carroll
Thanks for the reply. Here's how they are being created: Then they are being set in the UI sequence like this: In a dialog. Thanks so much for the help. Ted C. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, July 02, 2012 12:19 PM

Re: [WiX-users] How to save return code from a command line CustomAction?

2012-07-02 Thread Rob Mensching
1. Windows Installer does not support that, unfortunately. On Mon, Jul 2, 2012 at 11:45 AM, sergiocss wrote: > I have a CustomAction as follows: > >Directory='ProgramFilesFolder' > ExeCommand='[TARGETDIR]Windows\System32\net.exe user > wsdUser wsdPasswd'

Re: [WiX-users] Using util:User with properties gives error.

2012-07-02 Thread John Cooper
How are these properties being created and set? If they're created in the UI sequence, you'll need to mark them with the Secure=yes attribute for them to exist in the Exec sequence. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.(r) Shawnee Mission, KS

[WiX-users] How to save return code from a command line CustomAction?

2012-07-02 Thread sergiocss
I have a CustomAction as follows: Two issues: 1. After the wsdCreateUser custom action has executed I want to be able to save that result (success or failure) in a new property for further usage. I would like to trigger the execution of my custom action from a dialog box, maybe a check box

[WiX-users] Using util:User with properties gives error.

2012-07-02 Thread Ted Carroll
I'm sure this is my fault but I'm trying to use util:User like this: To grant logon as service to an existing user. In the logs I get: MSI (s) (EC:18) [11:03:18:895]: Executing op: ActionStart(Name=CreateUser,,) Action 11:03:18: CreateUser. MSI (s) (EC:18) [11:03:18:895]:

[WiX-users] Burn Planning for upgrades.

2012-07-02 Thread Benjamin Bennett
Just trying to figure out how burn determines install plan. Everything is working well but the exepackage. Burn correctly detects it is installed but decides it needs to reinstall , which is not correct. Condition 'SQLServerInstalled=1' evaluates to true. Detected package: SqlServerExpress2008,

Re: [WiX-users] Variable declaration for referenced objects

2012-07-02 Thread Rob Mensching
Those are usually provided to you by create a reference to the projects. On Sun, Jul 1, 2012 at 7:20 PM, Jose, Arun non Unisys < arun.j...@in.unisys.com> wrote: > Hi, > > I created project & WixUtilExtension references to my application in the > wix project (V3). > > How can I create/define a var

Re: [WiX-users] Trying to create patch, getting PYRO0227 error.

2012-07-02 Thread Pavol Kovalik
Yes, right. Just those two componenst. One is executable, the other one library. I've double checked, they changed. File version and product version of installed files is different between 1.1.1.1 and 1.0.0.0 package. Wixmst is ~350kb large, but I've found this piece within: fil688DB5AD6C63

Re: [WiX-users] Trying to create patch, getting PYRO0227 error.

2012-07-02 Thread David Watson
Hi, >From a quick read of what you have, it looks like you are trying to build a patch in which you think that two specific components have changed. Double check that these components have indeed changed in your 1.1.1 msi. What does your wixmst contain? Does the 1.1.1 ms

Re: [WiX-users] Uninstalling Sql2005 Express as part of a burn install chain.

2012-07-02 Thread Neil Sleightholm
Instead of uninstalling why not do an upgrade to the SQL2005 instance. Neil Neil Sleightholm n...@x2systems.com On 2 Jul 2012, at 15:54, Richard Mayes wrote: Hi Currently one of our product uses Sql2005 express and I have created an installer that can detect if ther

Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

2012-07-02 Thread Uma Harano
Hi Rob, This works great. I tested it out and the uninstall worked great with the newly cached msi. But - with this minor upgrade mechanism, I cannot delete components. I will definitely have to delete components. Is there anything I can go given that I have to delete components for the upgrade?

[WiX-users] Uninstalling Sql2005 Express as part of a burn install chain.

2012-07-02 Thread Richard Mayes
Hi Currently one of our product uses Sql2005 express and I have created an installer that can detect if there is an instance available and if not install Sql2008R2. Is it possible to detect that the instance is Sql2005 and uninstall that before installing Sql2008R2? Richard Mayes Mobile: +4477403

[WiX-users] Trying to create patch, getting PYRO0227 error.

2012-07-02 Thread Pavol Kovalik
I'm trying to create a patch for an application I'm working on. Unfortunatelly I'm running into these: warning PYRO1079 : The cabinet 'RMT.cab' does not contain any files. If this patch contains no files, this warning can likely be safely ignored. Otherwise, try passing -p to torch.exe when f

[WiX-users] Customize ErrorDialog behaviour

2012-07-02 Thread Vladimir Kiryazev
Hi all, I need to show error message from CA executed on DoAction event. It is documented that MsiProcessMessage (and hence Microsoft.Deployment.WindowsInstaller.Session.Message) doesn't work in that case. I am trying to show ErrorDialog required by Windows Installer by means of SpawnDialog event.

Re: [WiX-users] Files to install in a location other than INSTALLDIR

2012-07-02 Thread sudriptan
Thanks for the help. Will try it out and let you know. // Sudripta -Original Message- From: "Peter Shirtcliffe" Sent: Wednesday, 27 June, 2012 6:09pm To: "Sudripta Nandy" , "General discussion for Windows Installer XML toolset." Subject: RE: [WiX-users] Files to install in a