[WiX-users] Custom Action cannot find dependent assembly

2014-07-16 Thread George Fleming
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

Re: [WiX-users] Applying two patches causes version number confusion

2014-06-23 Thread George Fleming
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

Re: [WiX-users] Applying two patches causes version number confusion

2014-06-20 Thread George Fleming
*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

[WiX-users] Applying two patches causes version number confusion

2014-06-18 Thread George Fleming
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

[WiX-users] msimsp - Cannot Generate a Primary Transform

2014-06-06 Thread George Fleming
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

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-19 Thread George Fleming
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

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-19 Thread George Fleming
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

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread George Fleming
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

Re: [WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-13 Thread George Fleming
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? > &

[WiX-users] What does '&' and '!' inside CDATA[] do?

2014-05-12 Thread George Fleming
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

Re: [WiX-users] ARPSYSTEMCOMPONENT and patches

2013-09-05 Thread George Fleming
--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

[WiX-users] ARPSYSTEMCOMPONENT and patches

2013-09-04 Thread George Fleming
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

Re: [WiX-users] msiexec.exe /qn option causes memory corruption?

2013-08-15 Thread George Fleming
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

[WiX-users] msiexec.exe /qn option causes memory corruption?

2013-08-15 Thread George Fleming
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

[WiX-users] Custom Actions that need to call unmanaged DLL

2013-07-01 Thread George Fleming
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

[WiX-users] MSI as a pre-req

2013-06-19 Thread George Fleming
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

Re: [WiX-users] How to skip components during patching

2013-06-19 Thread George Fleming
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

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread George Fleming
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

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread George Fleming
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

Re: [WiX-users] Patching error

2013-06-18 Thread George Fleming
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

[WiX-users] How to skip components during patching

2013-06-18 Thread George Fleming
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?

Re: [WiX-users] Patching error

2013-06-14 Thread George Fleming
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

Re: [WiX-users] Patching error

2013-06-14 Thread George Fleming
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

Re: [WiX-users] Patching error

2013-06-14 Thread George Fleming
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

[WiX-users] Patching error

2013-06-13 Thread George Fleming
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

Re: [WiX-users] Is it possible to change default database port?

2013-05-13 Thread George Fleming
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

[WiX-users] Is is possible to change default database port?

2013-05-13 Thread George Fleming
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

[WiX-users] Change impersonation from within a Custom Action

2013-05-08 Thread George Fleming
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

[WiX-users] Burn/Boostrapper WITHOUT .NET installer

2013-05-03 Thread George Fleming
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

[WiX-users] Could not find assembly if msi is invoked by setup

2013-04-15 Thread George Fleming
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

[WiX-users] How do I reference Directory Id's in custom action's exeCommand

2013-04-03 Thread George Fleming
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

Re: [WiX-users] Windows Service always starts (even when I don't want it to)

2013-04-03 Thread George Fleming
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

[WiX-users] Windows Service always starts (even when I don't want it to)

2013-04-03 Thread George Fleming
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

[WiX-users] and relative paths

2013-03-22 Thread George Fleming
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

[WiX-users] Setup.exe won't exit gracefully

2013-03-22 Thread George Fleming
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

[WiX-users] Order of Execution

2013-03-22 Thread George Fleming
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

Re: [WiX-users] Managed Boostrapper Application and Wix 3.7

2013-03-14 Thread George Fleming
, 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

Re: [WiX-users] Can Wix Boostrapper project be a VS Startup project?

2013-03-13 Thread George Fleming
> [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

[WiX-users] Managed Boostrapper Application and Wix 3.7

2013-03-13 Thread George Fleming
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

Re: [WiX-users] Can Wix Boostrapper project be a VS Startup project?

2013-03-13 Thread George Fleming
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&#x

Re: [WiX-users] Can Wix Boostrapper project be a VS Startup project?

2013-03-13 Thread George Fleming
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.

[WiX-users] Can Wix Boostrapper project be a VS Startup project?

2013-03-13 Thread George Fleming
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

Re: [WiX-users] Upgrade to Visual Studio 2012

2013-03-06 Thread George Fleming
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---

[WiX-users] Upgrade to Visual Studio 2012

2013-03-06 Thread George Fleming
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

[WiX-users] How do i convert a global property string value to uppercase (or lowercase)?

2013-03-06 Thread George Fleming
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

[WiX-users] WixTargetPath and Wix 3.7

2013-01-30 Thread George Fleming
>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

[WiX-users] Best way to choose Windows Auth vs. SQL Auth

2013-01-28 Thread George Fleming
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

[WiX-users] Moving from Web Deploy to Wix

2013-01-21 Thread George Fleming
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

Re: [WiX-users] Two references to same SqlDatabase

2013-01-18 Thread George Fleming
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

[WiX-users] Two references to same SqlDatabase

2013-01-18 Thread George Fleming
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