[WiX-users] After upgrading to latest build of Wix3.5/VS2010, web site install now fails on IIS7

2010-07-23 Thread Alex Henderson
Hi All, We have an installer that was working fine under VS2008 - we just recently upgraded the installer solution to VS2010 and updated to the latest weekly build of Wix v3.5 (3.5.1923.0), and it no longer works when installing to IIS7 - does anyone have any pointers. Here's the log from the ins

Re: [WiX-users] Property in localized string?

2010-07-23 Thread Blair
If you don't mind "polluting" your Property table, you could create MSI properties importing your relevant MSBuild properties: In your WIXPROJ file (under an appropriate element): MyProperty=$(MyProperty);$(DefineConstants) In your WXS (in an appropriate location): Your !(loc.blabla) needs to b

Re: [WiX-users] Visual Studio Bootstrapper-> define order of prerequisites to be installed

2010-07-23 Thread John Bergman
Have you installed the windows sdk? One thing we did was take all of the files for the prereq's and check them into source control... it made it a lot more reliable to reference that,rather than the SDK (which, gets installed inconsistently in my opinion because I had to install 6.0a, 7.0 and 7

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Stelios Kyprou
I ended up fixing the msi... up to now i never got to use orca, but now i see the full potential of it and i understand why everyone suggests using this tool when writing installers... Good stuff! Rob Mensching wrote: > Hmm, I would never recommend using that tool: > http://robmensching.com/blog

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Rob Mensching
Hmm, I would never recommend using that tool: http://robmensching.com/blog/posts/2009/3/6/More-on-Haacks-Troubleshooting-Windows-MSI-Installers Use recache/reinstall (msiexec /fv) with a fixed MSI in

Re: [WiX-users] Drivers' installation design

2010-07-23 Thread Rob Mensching
wcautil.lib has a solution for that, see the externed functions from wcascript.cpp. We use it for Users, I think. On Fri, Jul 23, 2010 at 1:00 AM, wrote: > The problem with is rollback. If we have one deferred custom action for > all drivers, then we need to know what action failed, so we have t

Re: [WiX-users] Property in localized string?

2010-07-23 Thread A.Rios
I want to do exactly the opposite (assuming it can be done, of course): I have a property defined Application version 2 and I want to use it in the WXL,something like Welcome to [MyProperty] installation wizard like you use [ProductName] or [ProductVersion], but I cannot figure the correct syntax.

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Blair
In your verbose unisntall log (you are generating an uninstall log when you run) you can gather the name/path of the cached/stripped MSI that Installer is using, along with the original name you will need your MSI to be named in order to use your updated one to recache the package. Be sure to chang

Re: [WiX-users] RegistryKey doesn't get removed, WiX/MSI bug?

2010-07-23 Thread Blair
That RegistryKey must be the KeyPath of the component that contains it. Your component morphs between different products and thus violates component rules. I recommend moving that registry key into its own component and setting the registry key's guid to "*". -Original Message- From: Si

Re: [WiX-users] Property in localized string?

2010-07-23 Thread Blair
If your string is named "MyLocString" in your WXL file, use "!(loc.MyLocString)" in your authoring. -Original Message- From: A.Rios [mailto:cosasvar...@gmail.com] Sent: Friday, July 23, 2010 4:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Property in localized string? Hi

Re: [WiX-users] Retry at RMFilesInUse an invalid return value ?

2010-07-23 Thread Blair
Look up "Quiet Execution Custom Action" (qtexec) in the wix help. -Original Message- From: Swapnil Sankla [mailto:swapnil_san...@persistent.co.in] Sent: Friday, July 23, 2010 4:04 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Retry at RMFilesInUse a

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Blair
If you know what the error is and how to correct it, you can perform a small update to replace your package and then uninstall. -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@formicary.net] Sent: Friday, July 23, 2010 3:43 AM To: General discussion for Windows Installer XM

Re: [WiX-users] SETUPBLD and BURN, multiple uninstalls

2010-07-23 Thread Blair
- Burn supports that. - Not that I know of. - Chained MSI detection is built into Burn. Your "UI" code you add to Burn allows you to react to command-line options and package detection performed by burn and allows you to order (if you wish) or decide to include/exclude/even remove packages as part

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Stelios Kyprou
I think i can use orca to fix my problem...i actually have a custom action that tries to get a file from the installlocation, and get some data from there(while uninstalling) but i accidentally added that action after the deletefiles action. So i can change that with orca. The problem now is: I

Re: [WiX-users] Questions about showing warning/error message dialog

2010-07-23 Thread Blair
1. Not really. The only option that comes to mind is to use EmbeddedUI and to refuse to show the Ignore button when asked, but even that can be bypassed. 2. Only by wrapping the executable in your own custom action (usually DLL). -Original Message- From: Elfe Xu [mailto:elf...@microsoft.co

Re: [WiX-users] MsiGetProductInfoFromScript returns 1603

2010-07-23 Thread Jacques Eloff
Thanks Rob I tested this quickly with the code snippet below and it works great: Type t = Type.GetTypeFromProgID("WindowsInstaller.Installer"); Installer i = (Installer)Activator.CreateInstance(t); Database d = i.OpenDatabase(@"C:\Test\Test.msi", MsiOpenDatabaseMode.msiOpenDatabaseModeReadOnly);

Re: [WiX-users] Patches are getting installed automatically on Microsoft Vista OS

2010-07-23 Thread Blair
I suspect you may have some advertised entry point firing a repair due to some per-profile keypath not existing in the new user's profile. What does the application event log say (event Ids are 1001 and 1004)? http://msdn.microsoft.com/library/aa371546.aspx -Original Message- From: BSR PH

Re: [WiX-users] include 32 bit and 64 bit merge modules

2010-07-23 Thread daniel.knoepfel
Hi I tried to build wix project for 32 and 64 bit resulting in two separate msi. I tried to use the var.Platform variable but I have not yet managed to set it. How can I do that so depending on the variable different merge modules are included. (The dropdown in the visual studio project only

Re: [WiX-users] [Wix-users] Installing a windows service based on user give account

2010-07-23 Thread dB .
Use stock UI and samples from http://msiext.codeplex.com. You have a ready-to-go screen that will set all the properties correctly, check that the user has logon as a service privilege, etc. Check some screenshots here: http://msiext.codeplex.com/wikipage?title=Common%20UI%20Wix%20Extension&ref

Re: [WiX-users] Upgrading from other setup program to WiX/MSI

2010-07-23 Thread dB .
Having dealt with a similar scenario with InstallShield, the best I can suggest is to bootstrap uninstall. You can use dotNetInstaller (http://dotnetinstaller.codeplex.com) and write a command line that will uninstall the previous application. Write an MSI to uninstall the legacy thing or write

[WiX-users] RegistryKey doesn't get removed, WiX/MSI bug?

2010-07-23 Thread SimonKnight6600
Hi! When I installed the following test MSI, and uninstall it afterwards, the registry key gets removed. HOWEVER, if I install a version 1.0 and a version 1.1 of the MSI (with different Versions and product codes, of course), and I uninstall own of them, the Registry key is still there. Please no

Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Lukas Haase
Dear Pally, Am 23.07.2010 11:04, schrieb Pally Sandher: > MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID Aktion > 21:07:26: ValidateProductID. > > That's the InstallUISequence not the InstallExecuteSequence. Indeed! I changed now to InstallUISequence and now it works! But why?

Re: [WiX-users] include 32 bit and 64 bit merge modules

2010-07-23 Thread daniel.knoepfel
Hi Thanks for the information. I already feared this could be the reason. So what I am trying to do is the following: This way, i can hopefully reuse the same wix project. Having the wix project included in the visual studio solution, I can s

Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Lukas Haase
Dear Blair, What do you mean exactly with that? I just added the following test lines to my wxs file: Notepad.exe But even if something goes wrong, the word Foo needs to be at least found in the very verbose debug log, shouldn't it? The word is not even found in the debug log! msiexe

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Pally Sandher
I would like to also strongly recommend Peter's advice on only using Windows Installer clean up utilities as the very last resort when everything else fails. We've had to rebuild a users Vista SP2 machine recently because he took IT matters into his own inexperienced hands, googled MSICUU.exe & bro

Re: [WiX-users] include 32 bit and 64 bit merge modules

2010-07-23 Thread Pally Sandher
You need an x86 package and an x64 package which consume the correct merge modules. You can't use x64 merge modules in an x86 package, that's what the error is trying to tell you. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://w

Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Lukas Haase
Dear Rob, This was also my first guess. But I deleted and recompiled a few times. I even renamed the file. I do not know which entry in the logfile you mean but the one line containing "cache" on the top is: MSI (c) (04:E8) [13:50:57:178]: Resetting cached policy values Another two lines attr

Re: [WiX-users] Bootstrapper for .Net 2.0

2010-07-23 Thread Pally Sandher
http://dotnetinstaller.codeplex.com/ Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Regist

Re: [WiX-users] Problem with updating 1.0.1.1 to 1.0.2.1

2010-07-23 Thread Pally Sandher
You need to add a TargetImage Element for the 1.0.1.1 package to your UpgradeImage Element as you have done for the 1.0.0.1 package Without that the 1.0.2.1 patch knows nothing of the existence of the 1.0.1.1 package. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 85

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Peter Shirtcliffe
Cleanup utilities are a last resort because they can leave the machine in a corrupted state. You have a better option: Rebuild your msi *exactly* as before but with the custom action corrected or removed, (or it might be easier to edit it with orca to achieve the same result). Reinstall and recache

[WiX-users] Bootstrapper for .Net 2.0

2010-07-23 Thread Umesh Joglekar
Hi, Our application needs to have .NET 2.0 installed on the user's machine. It is used on both 32 bit and 64 bit operating systems. I looked at the example on Sourceforge and modified the project to create the bootstrapper with 32 bit dotnetfx 2.0, and it works fine. How do I add x64 and

Re: [WiX-users] Unable to uninstall

2010-07-23 Thread Ryszard Boryna
Had the same problem recently; http://majorgeeks.com/download.php?det=4459 helped. You will need to manually cleanup program files etc., but this should let you run your (fixed :~) ) installer. Ryszard Ryszard Boryna, Solutions Architect Tel: 0141 280 0050 NVable is a limited company regist

[WiX-users] Property in localized string?

2010-07-23 Thread A.Rios
Hi. We are in the process of updating our previous installation framework to Wix and have encountered a minor problem. As a part of our deployment process we use a custom MsBuild script and a string to identify the program being installed (something like "1.2 Build.3 Rev 4") and I want to use it in

[WiX-users] include 32 bit and 64 bit merge modules

2010-07-23 Thread daniel.knoepfel
Hi Our setup includes various merge modules. Initially, they were all these merge modules were fore 32-bit systems. Testing the installed application on 64-bit windows 7 i found out that we would need the 64-bit merge modules. So I added them to the wxs file: Unfort

Re: [WiX-users] Retry at RMFilesInUse an invalid return value ?

2010-07-23 Thread Swapnil Sankla
I want to use ExeCommand to start window service. But it shows the command prompt. Is there any way to hide the command prompt ??? Thanks and regards, Swapnil DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd.

[WiX-users] Problem with updating 1.0.1.1 to 1.0.2.1

2010-07-23 Thread KATO Kanryu
hi, I have made a product and two patches, msi 1.0.0.1 msp(A) 1.0.1.1 (between 1.0.0.1 and 1.0.1.1) msp(B) 1.0.2.1 (between 1.0.0.1 and 1.0.2.1) I can update to 1.0.2.1 with (B) from 1.0.0.1, but can't update with (A) from 1.0.1.1. What I take attention for wxs? http://schemas.microsoft.com/w

[WiX-users] Unable to uninstall

2010-07-23 Thread Stelios Kyprou
Hey everyone, I made an installer with 2 custom actions, taking care of rollback as well. The problem is i messed up with one of them during uninstallation, and every time i try to unistall, it fails and the rollback takes place. So i am unable to uninstall (neither from the msi nor the control pa

[WiX-users] SETUPBLD and BURN, multiple uninstalls

2010-07-23 Thread Simon Topley
Hi Team, It's been a while. I've recently given up on trying to find ways to trick the installer into working where a service needs to be started that relies on a copy of the CRT or .NET that the installer has to put on..An age old tale of mystery. I've finally produced a bootstrapped installe

Re: [WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-23 Thread Pally Sandher
If you read my reply you'll see I never mentioned "user accounts" anywhere. My questions was "Why are you storing user specific data under the installation directory instead of somewhere like My Documents or CommonAppData as per Microsoft's platform guidelines?". Palbinder Sandher Software Deploy

Re: [WiX-users] Visual Studio Bootstrapper-> define order of prerequisites to be installed

2010-07-23 Thread daniel.knoepfel
Hi I think I just had to change the order of the prerequisites xml. It seems illogical to me though and I havent found it documented anywhere. I would be glad for any verification. Crystal Reports .NET Framework 3.5 SP1 Windows Installer 3.1 __

Re: [WiX-users] InstallExecuteSequence completely ignored

2010-07-23 Thread Pally Sandher
MSI (c) (74:80) [21:07:26:477]: Doing action: ValidateProductID Aktion 21:07:26: ValidateProductID. That's the InstallUISequence not the InstallExecuteSequence. WiX doesn't "ignore InstallExecuteSequence" as the InstallExecuteSequence is just another database table to WiX. WiX is a way for you

[WiX-users] Visual Studio Bootstrapper-> define order of prerequisites to be installed

2010-07-23 Thread daniel.knoepfel
Hi Our wix installer makes use of the visual studio 2008 bootstrapper functionality to install Windows Installer 3.1, .NET 3.5 SP1 and Crystal reports. This used to work but suddenly there is an error when i start the setup on a clean machine. After aggreeing to the licence files of crystel re

[WiX-users] Questions about showing warning/error message dialog

2010-07-23 Thread Elfe Xu
Hi, Hope you are not get tired with my name, as I've posted sooo many questions. 1. When write registry value fails, an error message dialog will pop up, and show Retry/Cancel/Ignore. However, in our product, some registry keys are critical, and we don't want allow user to choose "Ignore",

[WiX-users] Patches are getting installed automatically on Microsoft Vista OS

2010-07-23 Thread BSR PHANI
Hi We have a technical isuue on Fix Pack 2.x installation. Scenario: 1. RTM + SP2 patch + FP 2.x patch Installed on windows vista using admin user 2. Create another user and add him to admin group. 3. Login with newly created user, SP2 installation runs automatically When we enab

Re: [WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-23 Thread Elfe Xu
In the log, the paths are perfect: MSI (s) (A8!60) [14:10:30:747]: PROPERTY CHANGE: Adding _dirCB80BB8E7C4DF6458FEC42C79CD3833C_0 property. Its value is 'C:\Program Files\Foo\bar\abc\'. MSI (s) (A8!60) [14:10:30:762]: PROPERTY CHANGE: Adding _dirCB80BB8E7C4DF6458FEC42C79CD3833C_1 property. Its v

Re: [WiX-users] Drivers' installation design

2010-07-23 Thread Vazhenin_Maksim
The problem with is rollback. If we have one deferred custom action for all drivers, then we need to know what action failed, so we have to write somewhere what actions we have done and what to do to rollback each of them. -Original Message- From: Blair [mailto:os...@live.com] Sent: Frida

Re: [WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-23 Thread Blair
I probably didn't read the messages in the right order (sometimes they come out-of-order and I don't always succeed in matching up the timestamps to get them right). The following is for the benefit of the community (I'm sure you've read this): the docs say about DirProperty: Name of a property w

Re: [WiX-users] Drivers' installation design

2010-07-23 Thread Rob Mensching
Yeah, it's pretty crazy. The CA DLL is actually inserted into the execution script for each schedule action. On Thu, Jul 22, 2010 at 11:56 PM, wrote: > Rob, Blair thank you very much for your explanation! > I haven't known that the immediate custom action can schedule the same > deferred custom

Re: [WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-23 Thread Elfe Xu
Thanks Blair. I've already have the version problem resolved by adding the version resource. This time it's the 2727 fatal error again. Because on my machine seems the if I add rows to RemoveFile with normal property, the installer will fail because the DirProperty is not in Directory table. Howe

Re: [WiX-users] Drivers' installation design

2010-07-23 Thread Blair
Also I see no reason that one deferred action can't be fed data it loops on such that it does InstallDriver for driver A, then ReinstallDriver for driver B, then InstallDriver for driver C then RemoveDriver for driver D followed by ReinstallDriver for driver C or whatever else you need in whatever

Re: [WiX-users] The DirProperty in RemoveFile table must be a property name in Directory table?

2010-07-23 Thread Blair
The custom action DLL that ends up inside of the Binary table contains the custom action's compiled code must have a Win32 VERSION resource. If you look at that file in the Windows Shell, you can right-click the file then select Properties and see a Details tab (in Win7 and I think Vista also, I've