[WiX-users] How to make some information remembered by the package so that it can be uninstalled automatically through add/remove programs?

2009-08-10 Thread bonn deng
Hi, all~I'm using WiX3.0 to build an install package for restoring sql server database. Now I can customize one dialog for users to input the sqlServerName, userName and password and the installation works just fine. But when I uninstall it through add/remove programs, I can't connect the s

Re: [WiX-users] Regasm Question

2009-08-10 Thread Rafael Rivera
Hi Chris, Implemented Categories can be looked up in the registry properly, instead of relying on Google, in HKEY_CLASSES_ROOT\Component Categories. The GUID for generic .NET stuff is {62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}. I could not reproduce the issue you mentioned using 2.0.50727.4927 of

[WiX-users] Regasm Question

2009-08-10 Thread Christopher Painter
I'm hoping to find a .NET/COM interop expert for a general installer question... I recently came across a .NET assembly that when I call it with regasm /codebase /regfile it generates a regfile that includes a registry subkey called Implemented Catagories with a GUID that google tells me repres

[WiX-users] question about upgrades

2009-08-10 Thread Amy Rosewater
Hi All, I am looking into an issue I am having when running an upgrade (major upgrade) for an instance of my application that is installed. I am currently running Wix v 3.0.5419. When my upgrade runs, I get this in the verbose log for the RemoveExistingProducts action: MSI (s) (98:14) [14

[WiX-users] How to treat support files that do not get installed on target machine?

2009-08-10 Thread MacDiarmid, James D
I have some support files that I would like to include on the installation disk. What's the typical practice for dealing with these types of files that do not get installed? For example, I have a merge module for the MS XML Parser that I want to call in my install. Thanks, Jim -

Re: [WiX-users] WG: Custom Action during Upgrade got error

2009-08-10 Thread Blair
If after you run your command-line to test the function you then run the command D:\VP6Wix\VPCommon> echo %ERRORLEVEL% And you see anything except for 0 you will see why Windows Installer thinks your command failed. You should probably determine why that exe is returning an error and resolve that.

Re: [WiX-users] KeyPath documentation clarification request

2009-08-10 Thread Bob Arnson
John Aldridge wrote: > ...but it appears (based on opening an MSI with Orca) that WiX will choose a > KeyPath file for you in some circumstances, at least for the case where a > component contains just a single Yes, WiX chooses the first keypath-able resource as the component's keypath. The doc

Re: [WiX-users] is it possible to disable user uninstall while still enable major upgrade?

2009-08-10 Thread Bob Arnson
Lian Jiang wrote: > Is it possible to disable uninstallation in my msi to achieve below goals? > I don't know. -- sig://boB http://joyofsetup.com/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2

Re: [WiX-users] Running .exe after installation.

2009-08-10 Thread Bob Arnson
Andrew Macvean wrote: > However I have never managed to successfully get the .exe to run. Check a verbose log to see what happens. -- sig://boB http://joyofsetup.com/ -- Let Crystal Reports handle the reporting - Fre

Re: [WiX-users] specifying multiple values for a property

2009-08-10 Thread Bob Arnson
Eric Napier wrote: > I want to specify all the domain groups that can use my application.Is there > a way I can get them all in the same property - e.g. msiexec /i my.msi > LEGITGROUP=administrators LEGITGROUP=powerusers LEGITGROUP=someothergroup > > The number of permitted groups will be variable.

Re: [WiX-users] Can ProgId look at header of file to determin file association?

2009-08-10 Thread Bob Arnson
jo...@msli.com wrote: > Is there some method to use the header in the xml to associate my some > xml files with may app? > Windows doesn't support that. -- sig://boB http://joyofsetup.com/ -- Let Crystal Reports han

[WiX-users] specifying multiple values for a property

2009-08-10 Thread Eric Napier
I want to specify all the domain groups that can use my application.Is there a way I can get them all in the same property - e.g. msiexec /i my.msi LEGITGROUP=administrators LEGITGROUP=powerusers LEGITGROUP=someothergroup The number of permitted groups will be variable. What's the correct way to i

[WiX-users] KeyPath documentation clarification request

2009-08-10 Thread John Aldridge
The WiX documentation says... > The KeyPath attribute is set to yes to tell the Windows Installer > that this particular file should be used to determine whether the > component is installed. When you have one file per component you > should always set the KeyPath attribute to yes. ...but it appe

Re: [WiX-users] Running .exe after installation.

2009-08-10 Thread Andrew Dedman
Maybe try and find an error from the exe that your trying to run? Look in the event log. Also can you run the exe by itself? Maybe its trying to reference something that hasn't been installed yet. You could also try running the installer from the command line and get the verbose logging output. Ju

[WiX-users] Running .exe after installation.

2009-08-10 Thread Andrew Macvean
Hello everybody, I would greatly appreciate some help. I am using wix v2 to create an installer, at the moment the installer checks for some prerqusite files using the registry and based on what is found takes the user to one of three new dialogs. At 2 of the dialogs I have a checkbox where

[WiX-users] WG: Custom Action during Upgrade got error

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
I changed the Custom Action call as: PREVIOUSFOUND But there is still the error in log as last email. The Custom Action is defined as: If I run the function in the command line, there is message: D:\VP6Wix\VPCommon>tao_imr -ORBInitRef ImplRepoService=file::/Locator.ior shutdown VPWEBSERVER

[WiX-users] Custom Action during Upgrade got error

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I have one Custom Action, which should be called during upgrade. I called it as: PREVIOUSFOUND But there is error in installation log, when I upgrade the msi: MSI (s) (F8:78) [12:59:27:612]: Doing action: UpgradeStopServices1 Action 12:59:27: UpgradeStopServices1. Action sta

Re: [WiX-users] How to "initialize" dialog

2009-08-10 Thread Yan Sklyarenko
Take a look at this post of Neil: http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html -- Yan -Original Message- From: Tamara Kustarova [mailto:kustar...@fastmq.com] Sent: Monday, August 10, 2009 1:43 PM To: General discussion for Windows Installer XML toolset. Subject

[WiX-users] How to "initialize" dialog

2009-08-10 Thread Tamara Kustarova
Hi, I am trying to customize the dialogs in WixUI_FeatureTree and I want to add my own dialog after CustomizeDlg. When I run the .msi, just after the CustomizeDlg it ends up with error 2829. According to msdn error 2829 means: Attempt to use an uninitialized dialog. What does it mean? How can I

[WiX-users] WG: WG: WG: Do some Custom Actions during Upgrade

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, Again to my question. I got to know how to get the installation log and I checked the log. I found that when I call MyCA1 as: UPGRADINGPRODUCTCODE In the log file, it says: MSI (s) (08:3C) [11:37:10:114]: Skipping action: MyCA1 (condition is false) It means that UPGRADINGPRODUCTCOD

Re: [WiX-users] WG: How to call Custom Action only on firsttimeinstall, not on Upgrade?

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
Thanks Gábor! The log is grabbed by command line as you said. However, the log is very long. I am interested in the Custom Actions that called during upgrade. Is there some key words that I can search? Regards, Chunyan -Ursprüngliche Nachricht- Von: DEÁK JAHN, Gábor [mailto:d...@t

Re: [WiX-users] WG: WG: Do some Custom Actions during Upgrade

2009-08-10 Thread Jiang, Chunyan (GE Healthcare)
Hi Blair, The problem is when I call MyCA1 as: UPGRADINGPRODUCTCODE There is compiler error: error LGHT0204: ICE75: UpgradeStopServices1 is a custom action whose source is an installed file. It must be sequenced after the CostFinalize action in the InstallExecuteSequence Sequence table Whe

Re: [WiX-users] How to make directory browse work using the WixUI_Mondo dialog sets?

2009-08-10 Thread bonn deng
Sorry to bother you guys, I have figured this out: the Browse button is enabled whenever the Feature has its ConfigurableDirectory set. Best wishes, Bonn 2009/8/10 bonn deng > Hi, all~ I encountered another problem, hope you guys can give me some > directions: > I want to use th