Re: [WiX-users] Service failed to start using WiX3.0

2009-08-05 Thread Pierson Lee (PIE)
Also, make sure that you marked the .exe as the keypath for the servicecontrol. I've noticed this error too because the service install grabbed the first file in the component (if you don't have one component per file) and it wasn't the .exe. -Original Message- From: Blair [mailto:os..

[WiX-users] Using DTF to Retrieve String Entries in Resource DLL

2009-08-05 Thread jnewton
I'm trying to use the Resource classes (i.e. Resource, ResourceCollection...) in the Microsoft.Deployment.Resources assembly that DTF ships to retrieve string entries from the RT_STRING table resource. I using the code: ResourceCollection rc = new ResourceCollection(); rc.Find(pathToDll); rc.Load

Re: [WiX-users] How to call Custom Action only on first time install, not on Upgrade?

2009-08-05 Thread Blair
Please show us how you authored your Upgrade table. UPGRADINGPRODUCTCODE is only set in the package being removed by the upgrade, so that one won't help. PATCH is set only when you are attempting to add a patch. What you want is "NOT Installed AND NOT REMOVEOLD" or whatever you named your propert

[WiX-users] How to call Custom Action only on first time install, not on Upgrade?

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, I stuck at this issue: how to call Custom Action only on first install, but not on Upgrade. I wrote one installation package, which is able to upgrade. In my .msi there is one Custom Action, which should be called only on first installation. I have tried the following ways to call t

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi John, Thank you. Could please tell me how to check logs? -Ursprüngliche Nachricht- Von: John Ludlow [mailto:john.ludlow...@gmail.com] Gesendet: Mittwoch, 5. August 2009 14:50 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] How to create the install

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread John Ludlow
Hi, I think we're back to the logs again - do the upgrade and check the logs to see whether PATCHFOUND is set. 2009/8/5 Jiang, Chunyan (GE Healthcare) : > Hi John, > > Thank you for your nice reply. > > Unfortunately, "MyCA" is called again, when I set > > NOT Installed AND NOT > PATCHFOUND > >

Re: [WiX-users] location of the definition of $(WIX) vcproj macro

2009-08-05 Thread Ben Hegarty
Cheers, it seems to be right.. c:\Program Files\Microsoft Visual Studio 9.0\VC>echo %WIX% C:\Program Files\Windows Installer XML v3.5\ its just when I build a C++ custom action in team build it keeps coming back with... C1083: Cannot open include file: 'wcautil.h' but the include paths contain

[WiX-users] document for burn

2009-08-05 Thread DE�K JAHN, G�bor
On Wed, 5 Aug 2009 01:05:54 +, Lian Jiang wrote: Lian, > Does anyone know any good option(s)? Although there are no such legal problems at my end, I also had the trouble of finding a bootstrapper solution. While waiting for Burn to mature, I temporarily settled on the AutoIt3 scripting lan

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi John, Thank you for your nice reply. Unfortunately, "MyCA" is called again, when I set NOT Installed AND NOT PATCHFOUND How can I stop calling MyCA during Upgrade? Regards, Chunyan -Ursprüngliche Nachricht- Von: John Ludlow [mailto:john.ludlow...@gmail.com] Gesendet: Mittwoch

Re: [WiX-users] location of the definition of $(WIX) vcproj macro

2009-08-05 Thread Kim Gybels
> Does anyone know where this macro id defined? I'm having some isses building > a C++ custom action in wix 3.5.. Isn't this an environment variable? C:\Program Files\Microsoft Visual Studio 8\VC>echo %WIX% C:\Program Files\Windows Installer XML v3\ - Kim -- *Kim Gybels Software Developer * ki

[WiX-users] Wix and XP Embedded

2009-08-05 Thread Andrew Dedman
Anyone know if XP Embedded can handle an msi file? Does XP embedded ship with Windows Installer or do you have to download the redistributable? Thanks Andrew -- Let Crystal Reports handle the reporting - Free Crystal Repo

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread John Ludlow
> According to the docs, UPGRADINGPRODUCTCODE is set during a removal. > When I've done this before, I've always used the properties set in the > elements - in your case, PATCHFOUND. So maybe try this: To clarify - it's set during RemoveExistingProducts, http://msdn.microsoft.com/en-us/library/a

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread John Ludlow
According to the docs, UPGRADINGPRODUCTCODE is set during a removal. When I've done this before, I've always used the properties set in the elements - in your case, PATCHFOUND. So maybe try this: NOT Installed AND NOT PATCHFOUND (not sure what happens with the NEWER case - I guess you're throwi

[WiX-users] location of the definition of $(WIX) vcproj macro

2009-08-05 Thread Ben Hegarty
Does anyone know where this macro id defined? I'm having some isses building a C++ custom action in wix 3.5... Regards -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your rep

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi Peter, I still have the problem about custom action. "MyCA" is always running during the Upgrade. I tried the both: not Installed and not Installed AND NOT UPGRADINGPRODUCTCODE How can I make "MyCA" only be called for the first installation? Regards, Chunyan -Ursprüngliche Nachricht

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread John Ludlow
Easily done :) Glad it's sorted anyway. John 2009/8/5 Jiang, Chunyan (GE Healthcare) : > Sorry, I confused you. I mean the Upgrade works now. It will not install a > new software, instead, it upgrade the old one. :) > > -Ursprüngliche Nachricht- > Von: John Ludlow [mailto:john.ludlow...

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Peter Shirtcliffe
That looks correct. It will run when you are removing the product from the machine entirely but it wont run when you are removing the old product in order to upgrade it. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 05 August 2009 10:21 To:

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Thank you for your reply. I only want the CA to run for the first time installation. I will try to change the condition to "not Installed" and try again. And I have another custon action, which should be called only in uninstallation. Is it correct to do it as: REMOVE="ALL" AND NOT UPGRADING

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Sorry, I confused you. I mean the Upgrade works now. It will not install a new software, instead, it upgrade the old one. :) -Ursprüngliche Nachricht- Von: John Ludlow [mailto:john.ludlow...@gmail.com] Gesendet: Mittwoch, 5. August 2009 11:11 An: General discussion for Windows Installer

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread John Ludlow
2009/8/5 Jiang, Chunyan (GE Healthcare) : > Hi John, > > Thank you for your help. There is some progess in my Upgrade. It will not > install a new software after I change the OnlyDetect. > Hmm - does it give an error message? ---

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Peter Shirtcliffe
NOT UPGRADINGPRODUCTCODE will be true during any run of the installer when you are not performing an upgrade. This includes remove, repair (and patch) and first time installation. Is that what you want ? If you only want to run during first-time installation then use: not Instal

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi John, Thank you for your help. There is some progess in my Upgrade. It will not install a new software after I change the OnlyDetect. I have another question that there is one Custom Action, which should be called only in the first install. Is it correct if I set it as: NOT UPGRADINGPRODUCT

Re: [WiX-users] Register COM Object

2009-08-05 Thread Rob Hamflett
Tallow should do the job. Try something like: tallow file -out results.wxs This should generate the component with all the necessary parts. Rob Andrew Dedman wrote: > Ok I'm switching over an application from using custom built install to > using wix. I'm having real trouble finding any info ab

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread John Ludlow
Well check that you have the upgrade code correct, but my guess it would have something to do with @OnlyDetect=yes being set. From the v2.x documentation: OnlyDetect | YesNoType | Set to "yes" to detect products and applications but do not uninstall. (http://wix.sourceforge.net/manual-wix3/wix

[WiX-users] Register COM Object

2009-08-05 Thread Andrew Dedman
Ok I'm switching over an application from using custom built install to using wix. I'm having real trouble finding any info about how to register a com object. Currently I'm using "regasm mydll.dll /tlb:mytlb.tlb" to register the dll for interop. I just want an exact replication of what this is doi

Re: [WiX-users] How to create the installation package, which is able to upgrade

2009-08-05 Thread Jiang, Chunyan (GE Healthcare)
Hi Peter, Thank you for your reply. I tried to write a major upgrade installer. Change the Product ID in each build for doing upgrade. Keep the Upgrade ID as UpgradeCode. Add the code as the tutorial 4.1: However, I found the installation didn't do the upgrade, instead