[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.

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 PatchCreation element, the Id attribute is different, auto-generated GUID is used each time we patch. 2. In Family

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

[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 CustomTable 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

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

2014-05-19 Thread George Fleming
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 gef...@microsoft.com wrote: Yes, AAA

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

2014-05-19 Thread George Fleming
explain what Advertise means, and why my patch fails sometimes because it'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

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

2014-05-13 Thread George Fleming
: 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 gef...@microsoft.com wrote: Does anyone know the meaning of '!' and '' in front of AAA below? Custom Action='_xxx' After='_yyy' ![CDATA[!AAA=3

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

2014-05-13 Thread George Fleming
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 discussion about the WiX toolset

[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? Custom Action='_xxx' After='_yyy' ![CDATA[!AAA=3 And PATCH And BBB=0]] /Custom Custom Action='_zzz' After='_xxx' ![CDATA[AAA=3 And CCC1 And DDD=1]] /Custom Thanks, George

Re: [WiX-users] ARPSYSTEMCOMPONENT and patches

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

[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 bundle. This works fine, except when we apply a patch. Because the MSI is blocked, so is its patch. We cannot see it, and

[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

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

2013-08-15 Thread George Fleming
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- From: George Fleming [mailto:gef...@microsoft.com] Sent: Thursday

[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 {

Re: [WiX-users] Patching error

2013-06-14 Thread George Fleming
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 22:54 To: WiX-users

Re: [WiX-users] Patching error

2013-06-14 Thread George Fleming
- 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 patch log shows errors, so I assumed that means it didn't repair correctly? I

Re: [WiX-users] Patching error

2013-06-14 Thread George Fleming
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 the patch using command line... Msiexec /p My.msi /L*v log SERVICEACCOUNT=xxx

[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]:

[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

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] 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 the

[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 PackageGroup 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 DONT want to check for .NET, and I don't want to package the .NET installer.

[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

[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: File Id= Name=$(var.RunbookService.exe) KeyPath=yes Source= / ServiceInstall Id='***' Name='***' DisplayName=''

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

2013-04-03 Thread George Fleming
-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't want it to) I have Wix code that looks something like this to start a Windows service

[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: Directory Id=TARGETDIR Name=SourceDir Directory Id=$(var.ProgFilesId) Directory Id=AAA Name=AAA Directory Id=bbb Name=bbb Directory Id=ccc Name=ccc / /Directory /Directory /Directory /Directory And a

[WiX-users] Order of Execution

2013-03-22 Thread George Fleming
Running Wix 3.7, I have a feature with several ComponentGroupRef's: Feature Id=, Title=, Level=1 ComponentGroupRef Id=one / ComponentGroupRef Id=two / ... ComponentGroupRef Id=xxx / ComponentGroupRef Id=yyy / /Feature I need to yyy to execute after xxx because of a dependency (it needs

[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

[WiX-users] WixTargetPath and relative paths

2013-03-22 Thread George Fleming
With Wix 3.6.1922, I manually add the WixToolPath, WixTargetsPath and WixTaskPath 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,

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

2013-03-14 Thread George Fleming
: BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost' On Wed, Mar 13, 2013 at 8:58 PM, George Fleming gef...@microsoft.comwrote: I have an Burn app that works with Wix 3.6. The Bundle.wxs looks something like this: BootstrapperApplication Id='ManagedBootstrapperApplicationHost' SourceFile

[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.

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

2013-03-13 Thread George Fleming
doesn't do anything. On Wed, Mar 13, 2013 at 9:58 AM, George Fleming gef...@microsoft.comwrote: 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

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

2013-03-13 Thread George Fleming
][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's wrong? -Original Message- From: George Fleming

[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: BootstrapperApplication Id='ManagedBootstrapperApplicationHost' SourceFile=$(var.WixToolsDir)\Burn\mbahost.dll Payload SourceFile=$(var.WixToolsDir)\SDK\BootstrapperCore.dll

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

2013-03-13 Thread George Fleming
? -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Wednesday, March 13, 2013 11:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can Wix Boostrapper project be a VS Startup project? So any tip on how I can debug my

[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: Condition![CDATA[(CREATETABLE=YES) OR (CREATETABLE=yes) OR

[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

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

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

[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: WixToolPath$(SourceCodeControlRoot)\wix\3.6.3220.0\/WixToolPath WixTargetsPath$(WixToolPath)Wix.targets/WixTargetsPath

[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,

[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

[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: ComponentGroup Id=SqlComponents

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

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