Actually, WiX supports this already without having to execute code. Under
your PatchBaseline element add the Validation element and set
ProductCode="no". The "double-click" scenario for the resulting MSP will
only apply to the default instance (the instance you created the patch from)
but it will a
And Class and ProgId elements.
Karl Denning wrote:
> Hi
>
> Don't use self-registering because it is not transactional.
> Instead, use the TypeLib and Interface tables
>
> karl
>
>
>
> Dear Sandun,
>
> I think that you can write SelfRegCost="1" ... > for the DLL in question. Having a number m
Commit custom actions run at the very end, by design.
Michael wrote:
> Hi,
>
> I have set of CA(commit) to executes on uninstall. I'm running CA after
> 'MsiUnpublishAssemblies'. While executing CA, I'm getting error in CA
> dll that file not found. I want to execute CA before all files are remove
You'd have to extract the Binary out with the CustomAction.
Michael wrote:
> Hi,
>
> I'm new to Wix. I'm using Wix v2. I have dll CA. I need to pass a exe
> as dll CA data which is referred in .
> sample code snippet,
>
>
> I need to pass Binary "UTIL" to custom action
> Execute="immediate" Ret
I'm not sure what ALLUSERS=0 means. ALLUSERS="" means per-user which
should behave the way you want. ALLUSERS=1 is how you typically define a
per-machine install, which behaves as you describe below. ALLUSERS=0...
that's not a documented value.
Mike Wu wrote:
> Hey all, I have an installer th
Also, WebSite has a ConfigureIfExists property. AppPool though probably
always sets its settings so Alex's suggestion below may be the nuke you
need.
Alex Cater wrote:
> The condition for ConfigureIIs (the scheduling CA) is:
>
> NOT SKIPCONFIGUREIIS AND VersionNT > 400
>
> You could set the SKIP
Yes, exactly.
Sascha Beaumont wrote:
> Hi Louis,
>
> I'm a relatively "new" WiX user (only a month or two) and I was
> thinking along the same lines when I first took a look at WiX for use
> in our projects last year. The main thing is that InstallShield
> doesn't require an understanding of MSI t
Can you be more specific about the error? Is it an ICE error or ICE
warning or some other error?
Lars von Wedel wrote:
> Hello,
>
> I am trying to install different versions of a DLL depending on the
> version of a further application on the target machine.
>
> I tried to define two components th
Yes.
Henk Roos wrote:
> Hi there,
>
> I want to find out if it is possible when installing a directory with wix and
> msi to , set the directory as the root of the default web site.
>
> Regards,
>
> Henk Roos
> Software Engineer
>
> A R I C E N T
>
> 260 Surrey Avenue
> Ferndale
> Randburg
>
> Ma
Any characters in the project name that are invalid for WiX preprocessor
variable names get automatically converted to underscores. So without renaming
the project this should work:
$(var.My_Test_Project.TargetFilename)
-Original Message-
From: Alex Cater [mailto:alex.ca...@apdcomms.co
Hi
Is there a way iw WiX to prevent downgrade with minor upgrades.
Can we write a custom action to verify and compare installed product
version. If yes, can someone suggest some Msi api's that can use in my VC++
custom action dll.
Is there any other easier way to achieve this.
Thanks,
Rajesh
Does it still do this if the "wait" value is zero? (or no). It won't start it,
but I'm wondering if it will still be catastrophic.
Phil Wilson
-Original Message-
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: Thursday, April 02, 2009 2:41 PM
To: General discussion fo
I'm guessing that you cannot have spaces in a project reference variable...
$(var.My Test Project.TargetFileName)
Try renaming your test project to MyTestProject so the project reference
variable becomes:
$(var.MyTestProject.TargetFileName)
--
View this message in context:
http://n2.nabble.
The condition for ConfigureIIs (the scheduling CA) is:
NOT SKIPCONFIGUREIIS AND VersionNT > 400
You could set the SKIPCONFIGUREIIS property via an immediate CA (scheduled
prior to ConfigureIIs of course) to simply skip IIS configuration when the
target host already has the website installed.
I just installed Wix3.0.4805.0-x64-setup from Sourceforge, and I'm trying to
build a very simple installer from Visual Studio 2008.
I've created a WIX project as well as my application project; however, when I
add a reference to my application project, the 'references' item has a yellow
warning
Hey all, I have an installer that can install for current user or
local machine by setting ALLUSERS. If two users use ALLUSERS=0 and the
default install directory, when one uninstalls, it removes files for
both users.
Someone suggested to me there's a way to uninstall the files only if
no more use
Yep. Boils up to the "Verify you have sufficient privileges to start..."
-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Thursday, April 02, 2009 1:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to start an existi
We are getting some unexpected and undesirable behavior from iis:WebAppPool and
iis:WebSite extensions, just checking to see if we are doing something wrong.
background
Specifically we have the following relevant snippet of wix that defines our
appPool setting and the WebSite we want created to
You can't start a disabled service, it is disabled. You have to set it
to Manual or Automatic before it can be started.
Neil
-Original Message-
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: 02 April 2009 20:59
To: General discussion for Windows Installer XML toolset.
Sub
It is advisable to set the following: (in VS2008)
Configuration-->C/C++-->Code Generation-->Runtime Library to:
Multi-threaded (/MT) (Release configuration)
Multi-threaded Debug (/MTd) (Debug configuration)
Hi Alex,
Thanks for the suggestion - we already did that and no difference.
Hey Phil - I'm wondering if ServiceControl can work on a Disabled
service, though. OP seemed to indicate the service is disabled by
default, which I see on my XP box here as being the case, too. I'm
writing a sample install that tries to start a Disabled service to see
how it reacts.
Chad
-Or
You should be able to do this with a ServiceControl element. I don't know the
WiX details, but the ServiceControl table in MSI is not directly connected to
installing that service.
Phil Wilson
-Original Message-
From: Gremlin [mailto:postingpl...@gmail.com]
Sent: Thursday, April 02,
It is advisable to set the following: (in VS2008)
Configuration-->C/C++-->Code Generation-->Runtime Library to:
Multi-threaded (/MT) (Release configuration)
Multi-threaded Debug (/MTd) (Debug configuration)
Hi Alex,
Thanks for the suggestion - we already did that and no difference. A
You aren't installing the service so the ServiceInstall element can't be
used in this case. The fact that the service is not yours and is
disabled, in my mind, would require a custom action to enable it. Just a
hunch.
-Original Message-
From: Gremlin [mailto:postingpl...@gmail.com]
Sent:
Hi,
I am trying to install Votive, but I'm getting an error message saying that VS
Express editions are
not supported.
However I have 2008 professional installed. I also had C# and C++ express
editions installed, which
I have removed.
Can anyone point me in the direction of how I can
It is advisable to set the following: (in VS2008)
Configuration-->C/C++-->Code Generation-->Runtime Library to:
Multi-threaded (/MT) (Release configuration)
Multi-threaded Debug (/MTd) (Debug configuration)
--
View this message in context:
http://n2.nabble.com/msi.lib-dependency-with-custom
Have you include in
you code?
Neil
-Original Message-
From: Paul Nearney [mailto:paul_near...@hotmail.com]
Sent: 02 April 2009 17:07
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] EventSource EventMessageFile and
NETFRAMEWORK20INSTALLROOTDIR
Hi all,
I suspect there may b
Hello,
I built a shell extension to launch my application in a specific way for
associated files.
The C++ project contains some registry entries in a .rgs file like this:
HKCR
{
NoRemove .abc = s 'abcfile'
{
}
NoRemove abcfile = s 'ABC input file'
{
NoRemove ShellEx
Hi all,
I suspect there may be a really simple answer to this (I am new to WiX) - I am
struggling to get the NETFRAMEWORK20INSTALLROOTDIR property to work in the
EventMessageFile attribute of an EventSource.
I am using the VS2008 integration for WiX, and have added a reference to
WixVSE
Hi all,
For our wix installer (using Wix 2.x), we built a custom DLL to do some
validation for one particular field. We're making use of MsiSetProperty in the
DLLs and when we run the installation on a target Windows 2003 machine, it's
failing at the validation because 'msi.lib' is missing
Hey Roy,
If you are still able to reproduce this please file a bug in heat and upload
the DLL. I would recommend that the DLL ONLY contain required information to
reproduce the issue IF possible.
Thanks,
Brian
Thanks for the all the help Brian and Neil. I've submitted the bug:
https://sou
Hello,
I want to start the service NetTcpPortSharing which is installed (and set to
disabled) with the installation of the .Net 3.5 framework. How can I start the
service in my installation? Is it possible with the
ServiceInstall/ServiceControl - tags? I tried this, but I got an error...
Hi,
I need some help on wix. The installer works fine it installs the service and
then starts the service. The service starts as soon as it is installed. i want
to launch a notepad (Configuration file) in the middle of service install and
start.
Ideally I want that when the installatio
Hello everybody!
Recently I started to build a msi file with WIX so far so good. My last
activity was to integrate a vbs script in msi package. This was no problem. But
now I have one problem how can I implement an error handling in msi?
Example I have this code which start the Main.vbs
>Ouch... IMHO, there is no excuse for this type of mentality, but hey, if
its not your call...
>It's somewhat analogous to "But we've always bashed our heads against the
wall... Sure it hurts like hell but nobody has died >yet..."
Agreed, unfortunately no amount of arguing on my parts going to mak
I usually experience this error when I forget where I am and try to
execute an MSI package from a subst'ed drive. I get the same when
executing from a network drive. I have not looked deeply into the cause,
but it seems that the msi needs to be on at least a primary partition
for msiexec to run it.
I suggest you take a look at the ServiceConfig element of the UtilExtension,
thus:
--
View this message in context:
http://n2.nabble.com/how-to-configure-windows-service-recovery-behavior-tp2572474p2573849.html
Sent from the wix-users mailing list archive at Nabble.com.
---
37 matches
Mail list logo