Re: [WiX-users] Trying to install .Net 4.0 with Burn

2012-07-02 Thread manishshirsat
hii Bob, As you said Burn did not supports disabling/enabling Windows features. So i created my own Exe say NetHelper.exe for doing this task. This exe enables windows features for .Net3.5. Now i am not getting how to use this exe within my bootstrapper installer so that- 1) if the OS is win7

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 pshirtcli...@sdl.com Sent: Wednesday, 27 June, 2012 6:09pm To: Sudripta Nandy sudrip...@sarangsoft.co.in, General discussion for Windows Installer XML toolset.

[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

[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

[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:

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

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.commailto: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 there

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. ComponentRef Id=cmp981D9885AA29DD578D66D32ED919EBFB/ ComponentRef Id=cmpD5E6EA59DB565F052E0217CB3248DAE5/ Double check that

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: row op=modify

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 variable to

[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,

[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: Component Id=GrantLogonAsService Guid={7742E51F-B362-44b7-BFF6-6AAC1AE0D29F} util:User Id=GrantLogonAsService Name=[SERVICE_LOGON_NAME] LogonAsService=yes CreateUser=no FailIfExists=no UpdateIfExists=yes

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

2012-07-02 Thread sergiocss
I have a CustomAction as follows: CustomAction Id='wsdCreateUser' Directory='ProgramFilesFolder' ExeCommand='[TARGETDIR]Windows\System32\net.exe user wsdUser wsdPasswd' Execute='immediate' Return='check' / Two issues:

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

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 sergioc...@hotmail.com wrote: I have a CustomAction as follows: CustomAction Id='wsdCreateUser' Directory='ProgramFilesFolder'

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: Property Id=SERVICE_LOGON_PASSWORD Secure=yes / Property Id=SERVICE_LOGON_USERNAME Secure=yes / Property Id=SERVICE_LOGON_DOMAIN Secure=yes / Then they are being set in the UI sequence like this: Control Id=EditUserName

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()

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:

[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

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 r...@robmensching.com wrote: It seems that

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:

[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

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

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

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:

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:

[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: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?define SRWorkingDirectory = c:\work\ ? Bundle Name=SurfaceReaderInstaller

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 sean.far...@seanfarrow.co.ukwrote: Hi Fokes: I'm just in the process of preparing a bundle with burn (the latest weekly release). My

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