Using Wix 3.5, I have a Custom Action that requires an interop .NET assembly.
When I run the installer, it complains that the assembly is not found.
I've searched for info on how to package the DLL file in the MSI, but only
instruction seems to be for Visual Studio, and use of CopyLocal flag. P
Sorry, due to legal reasons, I cannot really post my Patch wxs file. But it's
basically the same file used in both patches. The only difference between
patches are:
1. In element, the "Id" attribute is different, auto-generated
GUID is used each time we patch.
2. In element, the "Sequence
*Bump.* Anyone?
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: Wednesday, June 18, 2014 12:35 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Applying two patches causes version number confusion
Our patches are cumulative, and uninstall is
Our patches are cumulative, and uninstall is disabled. When I apply one patch,
and then go to //Control Panel/Programs/Program and Features/Installed Updates,
it looks something like this, and it's correct:
My Program
Hotfix for my program MyPrograma.b.c.d
Using Wix3.5, I modified a to add a new column, and using this
new column as the primary key. This custom table is used by a custom action
during patching.
In doing so, I get a msimsp error 0xc00e5173, and a message "Cannot Generate a
Primary Transform".
Searching the Internet, I found some
7;s in that state?
Thanks,
George
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: Monday, May 19, 2014 2:13 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do?
Based on
y to know that the existing installed product that's being
patched did in fact install that feature. The verbose log should say something
about the feature state as absent, present etc.
---
Phil Wilson
On Tue, May 13, 2014 at 4:21 PM, George Fleming wrote:
> Yes, AAA is a featur
2014 2:35 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] What does '&' and '!' inside CDATA[] do?
Is AAA a feature?
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: Tuesday, May 13, 2014 2:33 PM
To: General dis
ious features and
components:
http://msdn.microsoft.com/en-us/library/aa368012(v=vs.85).aspx
---
Phil Wilson
On Mon, May 12, 2014 at 10:14 AM, George Fleming wrote:
> Does anyone know the meaning of '!' and '&' in front of "AAA" below?
>
&
Does anyone know the meaning of '!' and '&' in front of "AAA" below?
Thanks,
George
--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Seleniu
--Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Wednesday, September 4, 2013 1:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ARPSYSTEMCOMPONENT and patches
Ship the patch in a Bundle.
On Wed, Sep 4, 2013 at 10:04 AM, Geor
I have two applications, a MSI and a bootstrapper/UI that invokes the MSI. To
prevent double ARP entries, we set the ARPSYSTEMCOMPONENT property in the
bootstrapper .
This works fine, except when we apply a patch. Because the MSI is blocked, so
is its patch. We cannot see it, and therefore c
e it--I don't know your authoring) has a chance to set this.
--
John Merryweather Cooper
Build & Install Engineer -- ESA
Jack Henry & Associates, Inc.(r)
Shawnee Mission, KS 66227
Office: 913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com
-Original Message-
Fr
I recently made some changes to installer code, and now it doesn't install
properly. Investigations show that if I install without /qn option at command
line, everything works as expected. If installed with /qn option (which also
requires installer to run as admin), the variable INSTALLFOLDER
I would like do something like this:
CustomActions.cs:
[CustomAction]
Public static ActionResults MyCustomAction(Session session)
{
...
NativeMethod.XYZ xyz = new NativeMethod.XYZ();
}
NativeMethods.cs:
internal static class NativeMethods
{
Intern
Currently I have a Setup with two MSI's:
MSI A is a pre-req of MS B. Ideally, I would like to install A only if A
hasn't been installed. Is this possible?
--
This SF.net email is sponsored by Windows:
Build
341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: Tuesday, June 18, 2013 3:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to skip components during patching
What i
s a
price most managers aren't willing to pay.
--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS 66227
Office: 913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com
-Original Message-
From
s necessary for that component to work. In my experience, that is
best practice.
--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS 66227
Office: 913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com
-----Orig
atching is really just
> a repair. If repairing (without providing any extra parameters) fails
> patching will too.
>
>
> On Fri, Jun 14, 2013 at 4:42 PM, George Fleming wrote:
>
> > If that's the case, I don't understand how normal installs work, but
> &g
I have following component that I only want to execute during a new install.
When I do a patch (msp file), I don't want to run this code, since I don't have
a valid default [SERVICEACCOUNT] value. Still, the code executes and I get a
failure at ServiceInstall. Why isn't my working?
ed to be secure or they are gone when your code runs on the server
side.
Phil
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: Friday, June 14, 2013 1:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching error
I installed
his for public properties.
Dave
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: 14 June 2013 17:25
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching error
What do you mean by "repairs correctly"? The
ching error
A patch application is just a repair with all relevant patch transformations
applied to the msi.
Check if your MSI repairs correctly.
Do you persist SERVICEACCOUNT and SERVICEPASSWORD?
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: 13 June 2013
I following online instructions and created a patch (msp file). There were no
errors during the creation. When I tried to verify the patch by applying it, I
got following error:
MSI (s) (C0:F0) [13:36:29:463]: Executing op: ActionStart(Name=CreateUser,,)
MSI (s) (C0:F0) [13:36:29:463]: Executi
Wix already has a separate instance attribute. So for Server attribute,
specify "server,port"?
-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: Monday, May 13, 2013 1:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Is it
Default SQL Database IP port is 1443. Is it possible to change this value?
I don't see any port attribute in the SqlDatabase element of Wix.
George
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases
I have a deferred custom action that has Impersonate set to "yes" to execute
some SQL commands. Conditionally, it also needs to start a Windows Service.
Windows service fails to start because impersonate of "yes" lacks sufficient
privileges. Is there any way to change the impersonation within
Running Wix 3.6, I had to follow one of many examples on the net on adding
to my code to check/install .NET 4.0, just to get my Setup to
build.
Here's the thing...I know Setup requires .NET to run, but I DON"T want to check
for .NET, and I don't want to package the .NET installer. .NET is a W
I have a msi that installs fine. But if msi is invoked by a Wix setup, I get:
Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.IO.FileNotFoundException: Could not load
file or assembly 'Microsof
If I have a Directory tree:
And a custom action:
< CustomAction Id="xxx" Directory="PowershellLocation"
ExeCommand="powershell.exe -NoLogo -NonInteractive -WindowStyle Hidden -Command
" APS-Cmd -Path Full-path-of-dire
ng? Does it have a password?
If so you need to add it to the Password element
Steve
-Original Message-
From: George Fleming [mailto:gef...@microsoft.com]
Sent: April-03-13 5:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Windows Service always starts (even when I don
I have Wix code that looks something like this to start a Windows service using
a virtual service account:
And it works fine in starting the service. Problem is, lately the service has
been crashing, and therefore I wish to temporarily disable auto-start of the
serv
With Wix 3.6.1922, I manually add the , and
to my .wixproj file. If I use absolute paths, there's never any
problem. However, due to build servers not having Wix installed, I must use
relative paths, and that's where I run into all kinds of problems, especially
with . If I use a relative p
Running Wix 3.6.1922, I have a Setup.exe that's a custom managed boostrapper
application. When I execute, I see two or three instances of Setup.exe in the
Task Manager. Problem is, when the Setup.exe terminates (normally or
abnormally), it almost always leaves an instance of Setup.exe still ru
Running Wix 3.7, I have a feature with several ComponentGroupRef's:
...
I need to "yyy" to execute after "xxx" because of a dependency (it needs to
wait for IIS to start). How do I do this? I know Wix order-of-execution is
unpredictable. And I know if I were doing via Custom
, 2013 at 8:58 PM, George Fleming wrote:
> I have an Burn app that works with Wix 3.6. The Bundle.wxs looks
> something like this:
>
> SourceFile="$(var.WixToolsDir)\Burn\mbahost.dll">
>Name="BootstrapperCore.dll" />
>Name="Boot
> [127C:12C0][2013-03-13T11:54:57]e000: Error 0x80131040: Failed while
> running
>
> Any pointer on what's wrong?
>
> -Original Message-
> From: George Fleming [mailto:gef...@microsoft.com]
> Sent: Wednesday, March 13, 2013 11:28 AM
> To: General discussion
I have an Burn app that works with Wix 3.6. The Bundle.wxs looks something
like this:
Trying to do the same thing with Wix 3.7, and I ran into problems (see my
previous posts under "Can Wix Bootstrapper project be a VS Startup project").
Since Wix 3.7 doesn't have a "mbaho
x80131040: Failed to create the
managed UX.
[127C:12C0][2013-03-13T11:54:57]e000: Error 0x80131040: Failed to create UX.
[127C:12C0][2013-03-13T11:54:57]e000: Error 0x80131040: Failed to load UX.
[127C:12C0][2013-03-13T11:54:57]e000: Error 0x80131040: Failed while running
Any pointer on what
stuff
doesn't do anything.
On Wed, Mar 13, 2013 at 9:58 AM, George Fleming wrote:
> I have a solution with a Wix Boostrapper project, and several other
> c++/c# projects. The Boostrapper project, the project that creates the EXE
> file,
> cannot be set to be the startup project.
I have a solution with a Wix Boostrapper project, and several other c++/c#
projects. The Boostrapper project, the project that creates the EXE file,
cannot be set to be the startup project. Although the solution compiles and a
setup.exe gets build, nothing happens when I run the setup.exe. I
ML toolset.
Subject: Re: [WiX-users] Upgrade to Visual Studio 2012
I'm guessing a typo and the first one should be VS2008SP1 not 2012, if so the
when you go from 2008 to 2012 the easiest option is to reinstall WiX as it
needs to register with Visual Studio.
Neil
-Original Message---
I have been using VS2010SP1 with Wix3.7, and everything works. Recently, I
installed VS2012. When I tried to open the installer solution using VS2012, I
got a warning that .wixproj is not supported, and the wix project does not
load. I re-installed Wix3.7, but that did not help. I also notic
I have a global property that's modifiable by the user via command line
parameter. How do I convert it to uppercase before using it in a Condition
statement?
For example, if global is "CREATETABLE", I could do something like this:
It would be nice if I could convert it to uppercase, and just
>From Wix documentation page,
>http://wix.sourceforge.net/manual-wix3/daily_builds.htm, it says to modify
>.wixproj file and add following lines:
$(SourceCodeControlRoot)\wix\3.6.3220.0\
$(WixToolPath)Wix.targets
$(WixToolPath)wixtasks.dll
I'm using Wix 3.7, and I could
I need to create a database, and let user choose Windows Auth or SQL Auth. It
looks like you could do it with two different components, and two separate
conditions, but that doesn't seem very elegant and creates duplicate code.
I see old threads such as this that seem like a better solution, bu
We currently have an IIS Web Service that is deployed using Web Deploy (with
binaries in a zip file, and other xml files). I am trying to figure out how
best to change this to an MSI using Wix.
So far, I haven't found any good example on how best to do this. Is there some
good way I can utili
8, 2013 12:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Two references to same SqlDatabase
SqlString/@SqlDb. When nested under SqlDatabase that attribute is set to parent
element.
On Fri, Jan 18, 2013 at 12:05 PM, George Fleming wrote:
> Using Wi
Using Wix 3.7, I want to create a database if the CREATEDATABASE parameter is
set on command-line, but then always execute the create login SQL command
(which may fail because the login already exists). So my Wix code looks
something like this:
CREATEDATABASE
50 matches
Mail list logo