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..
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
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
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
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
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
>
>
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
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
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
> 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
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
> 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
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
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
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
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...
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:
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
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
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?
---
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
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
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
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
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
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
26 matches
Mail list logo