Re: [WiX-users] Adding Downgrade support to MSI

2013-08-03 Thread Christopher Painter
We use the downgrade / AMUS pattern a lot at my day job. Not every installer ( as Blair points out ) but if it's a basic application that is privately deployed with no overlapping footprints, we do it. Most of these installers are relatively small so repair isn't a concern. The primary

Re: [WiX-users] Replace a file in MSI

2013-08-01 Thread Christopher Painter
I take a slightly different approach. Not as optimal but simpler and less invasive. Using C#/DTF: Create a new cab with my file. Stream cab into MSI Update Media Table Update File Table This essentially orphans the original file and touches as little MSI table data as possible.

Re: [WiX-users] Need help, how to put a condition on a merge module in Product.wxs [P]

2013-07-31 Thread Christopher Painter
Merge modules don't have the concept of condition. You put the condition on every component in the merge module or you put the condition on the feature(s) that reference the merge modules (and hence the components ). Once merged, a merge module doesn't exist. It's a build time concept not

Re: [WiX-users] Updating msi database (install time)

2013-07-23 Thread Christopher Painter
You can only do this with TEMPORARY updates once the installer is running. Maybe this blog article will help: http://blog.iswix.com/2008/07/dynamic-windows-installer-ui.html From: Enrique Domínguez edoming...@goalsystems.com Sent: Tuesday, July 23,

Re: [WiX-users] WiX v3.7 - CopyFile not working

2013-07-07 Thread Christopher Painter
I don't think that's accurate. The CopyFile element expresses data for both the MoveFiles table and DuplicateFiles table. I use it to make copies of files all the time. From: Stephane Fagnan stephane...@hotmail.com Sent: Sunday, July 07, 2013 2:20 PM

Re: [WiX-users] ServiceInstall fails when installing service containing a Mixed Mode dll

2013-07-04 Thread Christopher Painter
Once again, ServiceInstall gets the job done without the help of an InstallUtil custom action. :-) Good job sticking it through. You will have a more reliable install now. I can't tell you how many developers on stack overflow have argued with me that I'm wrong and that InstallUtil is the

Re: [WiX-users] ServiceInstall fails when installing service containing a Mixed Mode dll

2013-07-03 Thread Christopher Painter
This would be an interesting one to profile. I stand by my assertion that installutil CA's to create and start services is an antipattern. ServiceInstall and ServiceControl should always be comparable. The problem is what else is in the InstallUtil CA? I've seen people doing things such as

Re: [WiX-users] Wix and InstallShield 2012

2013-06-10 Thread Christopher Painter
Why does it have to be one? :) There's a whole lot that can be done if you buy 1 copy of InstallShield and blend it with a lot of WiX goodness From: Rob Mensching r...@robmensching.com Sent: Sunday, June 09, 2013 1:31 AM To: yuanfanganyi...@sina.cn,

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Christopher Painter
Let me guess, your colleagues don't have an installer / windows installer / wix experience and they think that a couple of quick how to's will explain everything? Am I close and/or cynical? 10 FWIW, I've had 12 jobs in 16 years. I always document unique specifics but it's not my job to

Re: [WiX-users] log stdout and stderr to the msi log

2013-05-20 Thread Christopher Painter
toolset. wix-users@lists.sourceforge.net Subject: RE: [WiX-users] log stdout and stderr to the msi log Yes! It is a Windows NT service. -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, May 17, 2013 3:41 PM To: General discussion for Windows Installer XML

Re: [WiX-users] log stdout and stderr to the msi log

2013-05-17 Thread Christopher Painter
Is this a Windows (NT) service? (ie net start servicename) From: Uma Harano uhar...@esri.com Sent: Friday, May 17, 2013 4:51 PM To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] log stdout

Re: [WiX-users] Response file for silent installation

2013-05-15 Thread Christopher Painter
Correct. Response files are used by InstallScript project and InstallScript MSI projects. They are not relevant to Basic MSI projects. FWIW, it's not very good. From: Chad Petersen chad.peter...@harlandfs.com Sent: Wednesday, May 15, 2013 1:21 PM

Re: [WiX-users] WebDeploy vs MSI

2013-05-08 Thread Christopher Painter
. From: Rob Mensching r...@robmensching.com Sent: Wednesday, May 08, 2013 10:46 AM To: Christopher Painter chr...@iswix.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WebDeploy vs MSI I dislike WebDeploy

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

2013-05-08 Thread Christopher Painter
Why reinvent the wheel? MSI can handle starting a service for you. Create a ServiceControl record and tie it to a component and put the condition on the component. This way your CA doesn't have to worry about starting the service, it'll get taken care of when StartServices runs.

Re: [WiX-users] WiX-users] Hide/blank out Passwords in MSI log file

2013-05-07 Thread Christopher Painter
the parameters! I was stuck on looking at HideTarget and Hidden at the time in the WIX code... NOTE! Take a break from the screen! Thank you everyone for all your help!! Cheers! Jeremiah On Mon, May 6, 2013 at 3:11 PM, Christopher Painter chr...@iswix.com wrote: Except when

[WiX-users] WebDeploy vs MSI

2013-05-07 Thread Christopher Painter
A question for the group, and Rob, I've been a big believer in MSI for 10 years now. If you were looking at deploying ASP.NET apps to an AWS environment, would you still package the app as an MSI or would you consider another paradigm such as WebDeploy? Thanks, Chris

Re: [WiX-users] WiX-users] Hide/blank out Passwords in MSI log file

2013-05-06 Thread Christopher Painter
Except when they are called by a ControlEvent. :-) It looks to me that the C#/DTF custom action has some initialization to called session.Log(). This would be easy enough to tell by using WinZip to extract the assembly from the self extract custom action ( foo.dll from foo.ca.dll ) and

Re: [WiX-users] Extract Binary file from MSI C++

2013-04-30 Thread Christopher Painter
C#/DTF custom actions have a really nice story to support this without writing a lick of code. You just add the files to the MSBuild project as Type: Content Action: Copy Always and they will show up in the current directory at execution time. I wonder how much work it would be to get the

Re: [WiX-users] Bundle creation error using FIPS

2013-04-19 Thread Christopher Painter
Rob, For your review: http://stackoverflow.com/questions/3351222/which-net-sha1-class-is-fips-comp liant Regards, Chris From: Rob Mensching r...@robmensching.com Sent: Friday, April 19, 2013 12:31 PM To: General discussion for Windows Installer XML

Re: [WiX-users] WiX vs NSIS

2013-04-17 Thread Christopher Painter
Nick, Shoot me an email and we'll chat about it. I need to explain all the finer points of *WHY* we use MSI and once you fully comprehend the subject it'll be an easy sell. Regards, Chris From: Nick Miller nmil...@livetechnology.com Sent:

Re: [WiX-users] Slow Installs

2013-04-15 Thread Christopher Painter
Start with CPU, Memory, Disk I/O performance counters. Where is the bottle neck? Perhaps there is high memory demand with a lot of paging, perhaps there are other processes hitting the I/O and your disk queue is pegged. Perhaps it's a heavily fragmented hard drive or a VM that's on an

Re: [WiX-users] Slow Installs

2013-04-12 Thread Christopher Painter
MSI was never fast. You should have seen it on a Pentium 200MMX with 16MB of memory. The more keyfiles you have in an installer, the more processing that Windows Installer has to perform. You should consider only having select files (EXE,DLL,OCX...) as keyfiles and the rest as companion

Re: [WiX-users] Help with component not installing.

2013-04-01 Thread Christopher Painter
If I had to take a guess, I'd suspect MigrateFeatureStates is playing a part in the Major Upgrade. From: Rob Mensching r...@robmensching.com Sent: Monday, April 01, 2013 10:22 AM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Activation Keys

2013-03-27 Thread Christopher Painter
+1 Also, please be sure to provide an easy offline experience. Those of us who have worked inside buildings that are black holes know how damn painful this is. (I'm looking at you InstallShield!) From: Rob Mensching r...@robmensching.com Sent:

Re: [WiX-users] WIX Installer Machine Name

2013-03-26 Thread Christopher Painter
Depending on how the data in the Web.Config is being used something as simple a localhost or (local) might work. On the other hand, [ComputerName] may not be enough. The code using the data might expect an FQDN. From: ptr ptrajku...@gmail.com

Re: [WiX-users] Why does new event in the application logs apear after the building .wixproj

2013-03-25 Thread Christopher Painter
In a nutshell, ICEs are specialized custom actions that serve as unit tests. They are stored in specialized MSI databases called CUBs (.cub) (A type that I wish that WiX had support for.) When you perform validation the cub is merged with your MSI and all of the custom actions listed in the

Re: [WiX-users] Order of Execution

2013-03-25 Thread Christopher Painter
I can't begin to count how many developers and architects have told me that component order does matter because they broke the component rules and then witnessed the right file get installed and how it isn't and therefore the build/installer is broken. :(

Re: [WiX-users] Question about conditional statements in elements

2013-03-23 Thread Christopher Painter
95% of my installers have used major upgrades as their servicing strategy. The other 5% used minor upgrades because I either a) wanted to create a story of a non-priv user being able to perform upgrades or b) wanted to be able to create patches For the standard run of the mill business

Re: [WiX-users] COM+ registration help

2013-03-22 Thread Christopher Painter
My COM+ experience is 10 years old but here's something I'm wondering: I wonder if what ever classes that are in System.Enterprise.Services ( or whatever that namespace is that was thrown around ) are really needed? Maybe those are just wrappers in .NET for the COMAdmin objects just like

Re: [WiX-users] COM+ registration help

2013-03-22 Thread Christopher Painter
-users] COM+ registration help What do you mean, unneeded code for installing Windows services? What if the service is written in .net? Then the code is needed. -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, March 22, 2013 9:24 AM To: General

Re: [WiX-users] Event source sharing

2013-03-22 Thread Christopher Painter
If you look at the built MSI, you'll see EventSource is just some syntactic sugar to express simple registry keys/values.Create a component in a fragment / wix library and mark it as shared. Then do a ComponentRef in your various installers and they will all share that component. Last

Re: [WiX-users] Question about conditional statements in elements

2013-03-22 Thread Christopher Painter
Remember, WiX is just an authoring tool for Windows Installer databases. For the underlying knowledge, please see: Conditional Syntax Statement (Windows) http://msdn.microsoft.com/en-us/library/windows/desktop/aa368012%28v=vs.85%2 9.aspx Installed property (Windows)

Re: [WiX-users] Question about conditional statements in elements

2013-03-22 Thread Christopher Painter
It means an MSI sharing this ProductCode ( either this PackageCode which would indicate a maintenance transaction or another PackageCode which would indicate a small or minor update ) is already installed. In the case of a Major Upgrade the ProductCode has been changed and therefore from

Re: [WiX-users] Event source sharing

2013-03-22 Thread Christopher Painter
? From: Rob Mensching r...@robmensching.com Sent: Friday, March 22, 2013 10:51 AM To: Christopher Painter chr...@iswix.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Event source sharing Please don't

Re: [WiX-users] Event source sharing

2013-03-22 Thread Christopher Painter
| Télécopieur 613-951-1966 Government of Canada | Gouvernement du Canada -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: March-22-13 11:49 AM To: Christopher Painter; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Event source sharing

Re: [WiX-users] Event source sharing

2013-03-22 Thread Christopher Painter
Possibly. I work in enterprise IT these days so I can imagine the operations guys might be interested in certain scenarios. From: Rob Mensching r...@robmensching.com Sent: Friday, March 22, 2013 12:22 PM To: Christopher Painter chr...@iswix.com, General

Re: [WiX-users] COM+ registration help

2013-03-21 Thread Christopher Painter
+ registration help Christopher Painter-2 wrote If that's the case, a DTF custom action wouldn't have that problem. Thanks for the tip ... I've never done anything with DTF, do you have any suggestions on how to get started ? Thanks again for your time and attention, -dmm -- View this message

Re: [WiX-users] Modify Public property from VBScript CustomAction

2013-03-20 Thread Christopher Painter
and described problem. BTW: Problem solved. The custom action can't modify property inside InstallExecuteSequence for some reason. Embedding into InstallUISequence helps. 2013/3/19 Christopher Painter chr...@iswix.com You want: Session.Property(PREVIOUS_PATH) = pathToProcess But honestly, Script Custom

Re: [WiX-users] Modify Public property from VBScript CustomAction

2013-03-20 Thread Christopher Painter
: [WiX-users] Modify Public property from VBScript CustomAction thanks! 2013/3/20 Christopher Painter chr...@iswix.com Vladimir, You're problems are not solved, you just don't know what other problems you have are yet. I suggest starting with reading: http://www.installsite.org/pages/en/isnews

Re: [WiX-users] COM+ registration help

2013-03-20 Thread Christopher Painter
Hmmm... I haven't done COM+ apps in 10 years but I guess I don't see the connection to .NET. My custom actions (InstallScript back then) always used the COMAdmin objects which were unmanaged. For .NET remoting I think of things like remoting, webservices, wcf et al...

Re: [WiX-users] COM+ registration help

2013-03-20 Thread Christopher Painter
I had a really good response typed up but then IE10 crapped out on me like it always does. It really doesn't like my webmail site. The short version is that namespace is .NET Enterprsie Services is 12 years old and I wouldn't touch it with a 10 foot pole. Microsoft has rewritten the remoting

Re: [WiX-users] COM+ registration help

2013-03-20 Thread Christopher Painter
and is used to support COM+ and as far as I can tell is what WiX uses to install COM+ and I was just trying to help someone with COM+ installation issues. Neil From: Christopher Painter [mailto:chr...@iswix.com] Sent: 20 March 2013 15:59 To: Neil Sleightholm; General discussion for Windows

Re: [WiX-users] COM+ registration help

2013-03-20 Thread Christopher Painter
If that's the case, a DTF custom action wouldn't have that problem. From: Neil Sleightholm n...@x2systems.com Sent: Wednesday, March 20, 2013 4:49 PM To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] Modify Public property from VBScript CustomAction

2013-03-19 Thread Christopher Painter
You want: Session.Property(PREVIOUS_PATH) = pathToProcess But honestly, Script Custom Actions are very fragile. Consider C++ or C# instead. From: Vladimir Yelnikov vladimir.yelni...@gmail.com Sent: Tuesday, March 19, 2013 10:05 AM To:

Re: [WiX-users] Merge modules wixlib compatibility

2013-03-14 Thread Christopher Painter
MSM is a Windows Installer standard, wixlib is not. Otherwise they are similar in function with wixlib being lighter weight and more flexible. But your scenario confuses me. An MSI can install one and only one product. It would be more accurate to say the files for one feature goes in M1

Re: [WiX-users] Is using Powershell script as a Wix Custom Action a good idea?

2013-03-12 Thread Christopher Painter
dependency of .Net. I seem to remember some issues with newer os's not liking the standard .net installer as it is an optional feature of the OS. On Mar 11, 2013, at 9:57 PM, Christopher Painter chr...@iswix.com wrote: Check out C# / DTF for managed custom action support instead of PowerShell

Re: [WiX-users] Is using Powershell script as a Wix Custom Action a good idea?

2013-03-12 Thread Christopher Painter
actions can easily be decompiled, examined, tweaked,recompiled and reapplied to an MSI. Try doing that with native. :-) From: Rob Mensching r...@robmensching.com Sent: Tuesday, March 12, 2013 10:27 AM To: Christopher Painter chr...@iswix.com, General

Re: [WiX-users] Is using Powershell script as a Wix Custom Action a good idea?

2013-03-12 Thread Christopher Painter
Put another way, I think it's more important to fully, and I do mean fully, understand the MSI model including the declarative and transactional aspects. I've seen far too many installers that ignore all this and then do some crap in a .BAT or .VBS file. It's more important to focus on this

Re: [WiX-users] How to suppress MSI error dialogs using Wix

2013-03-07 Thread Christopher Painter
I don't know of a way. Have you considered upgrading to WiX 3.6 and implementing a custom bootstrapper application using Burn? I can only imagine plenty of examples must exist in Redmond to get you started. From: Raghu raghu_ti...@yahoo.com Sent:

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Christopher Painter
I guess I have to wonder Why run PowerShell period? I mean, DTF is very powerful and robust. It's also possible to use DTF to write a managed custom action and call PowerShell code from there. The only argument I ever here for PowerShell is it's for guys who know how to script. These

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

2013-03-06 Thread Christopher Painter
Just use the ~ operator to do a case insensitive comparison. CREATETABLE~=yes Btw, they called public properties not global properties. From: George Fleming gef...@microsoft.com Sent: Wednesday, March 06, 2013 1:33 PM To: wix-users@lists.sourceforge.net

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Christopher Painter
thought I would create a simple PowerShell script to import-module (the core dll) then run the cmdlet (install-license) I can successfully run this powershell script via the CMD prompt, but within WIX it is not working :( Steve -Original Message- From: Christopher Painter [mailto:chr

Re: [WiX-users] using WiX with team foundation service

2013-03-02 Thread Christopher Painter
Installer service was disabled which I guess accounts for this - do you know why this would be disabled? I am not sticking up for TFS, it has some good points but in general I believe there are much better alternatives. -Original Message- From: Christopher Painter [mailto:chr...@iswix.com

Re: [WiX-users] Burn Install / Uninstall Scenario

2013-03-02 Thread Christopher Painter
found a solution, bottom line is that the installer really ought to be fixed. -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: 28 February 2013 21:35 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Burn Install / Uninstall

Re: [WiX-users] using WiX with team foundation service

2013-03-01 Thread Christopher Painter
I just gave it a try and sure enough, WiX *IS* installed. However, validation is still broken (25 errors using a simple merge module project). I don't know about you, but I don't generate MSI's without running validation every build so it's still a non-starter for me. light.exe : warning

Re: [WiX-users] using WiX with team foundation service

2013-03-01 Thread Christopher Painter
BTW, where did you hear this talk? It does seem to be there despite it not being documented on this page: http://tfs.visualstudio.com/en-us/learn/build/hosted-build-controller-in-vs/ ( very bottom ) From: David Watson dwat...@sdl.com Sent: Friday,

[WiX-users] Burn Install / Uninstall Scenario

2013-03-01 Thread Christopher Painter
I've got a weird scenario involving AdobeFlash. They have an MSI, TRANSFORM and MSP that I need to use to install. However, their uninstall is broken (incomplete) and they provide an EXE to run to do a complete uninstall. We created a bundle to lay this all down but we are getting stuck

Re: [WiX-users] using WiX with team foundation service

2013-03-01 Thread Christopher Painter
Which is what I do. I used to have an on-prem TFS app-tier/data-tier and an on-prem build tier. When I initially evaluated TFS Service I had difficulty keeping the on-prem build tier registered with the service. I stopped using it for about a year and when I reevaluated it they had fixed

Re: [WiX-users] using WiX with team foundation service

2013-02-28 Thread Christopher Painter
If there is a NuGet package for WiX, that's news to me. The one time I played with WiX on the TFS Hosted Build Agent I had to check all the WiX binaries into source control and tweak the a few things in the targets file or something (don't fully remember ) to get it to all line up. And I

Re: [WiX-users] Service call from Custom Action

2013-02-25 Thread Christopher Painter
613-951-1966 Government of Canada | Gouvernement du Canada -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: February-22-13 9:28 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service call

Re: [WiX-users] Service call from Custom Action

2013-02-22 Thread Christopher Painter
-Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: February-21-13 10:39 PM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service call from Custom Action Not that I'm aware of. Other

Re: [WiX-users] Service call from Custom Action

2013-02-21 Thread Christopher Painter
Not that I'm aware of. Other then why? From: keith.doug...@statcan.gc.ca Sent: Thursday, February 21, 2013 4:12 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Service call from Custom Action Are there any gotchas one should know about

Re: [WiX-users] Service not starting

2013-02-18 Thread Christopher Painter
See Java Service Wrapper: http://wrapper.tanukisoftware.com/doc/english/introduction.html From: Castro, Edwin G. (Hillsboro) edwin.cas...@fiserv.com Sent: Monday, February 18, 2013 10:54 AM To: afor...@cmu.edu afor...@cmu.edu, General discussion for

Re: [WiX-users] Finding out the number of cores during install?

2013-02-13 Thread Christopher Painter
No, it doesn't. But I've already answered that on Stack Overflow for you. From: Stephen Turner sgtur...@audioscience.com Sent: Wednesday, February 13, 2013 12:29 PM To: wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net Subject: [WiX-users]

Re: [WiX-users] C# Custom Actions - Cannot Trace

2013-02-13 Thread Christopher Painter
For C# using DTF it's MMsiBreak. For C/C++ it's MsiBreak. Also you have to restart the machine after setting the env var for the service control manager to pick up the environment change and pass it along to the Windows Installer service. I've debugged many DTF custom actions it's entirely

Re: [WiX-users] ServiceInstall fragment for Java applications

2013-02-10 Thread Christopher Painter
I can't imagine why not. In their website the write: Take winsw.exe from the distribution, and rename it to your taste (such as myapp.exe) Write myapp.xml (see Configuration Syntax for more details) Place those two files side by side when you deploy your application,

Re: [WiX-users] How can I set/change the generated msi name from within product.wxs

2013-02-08 Thread Christopher Painter
The wixproj can pass constants to be used in the wxs, not the other way around. You can edit the wixproj by hand and use MSBuild properties such as: In the OutName property element = ProductName_$(WiXProductVersion) Then later in the DefineConstants property element you can say

Re: [WiX-users] How can I set/change the generated msi name from within product.wxs

2013-02-08 Thread Christopher Painter
. From: j2associates j2associa...@yahoo.com Sent: Friday, February 08, 2013 8:54 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How can I set/change the generated msi name from within product.wxs Christopher Painter-2 wrote Now when you call MSBUILD you pass

Re: [WiX-users] Custom actions failing on XP

2013-01-25 Thread Christopher Painter
Sorry, haven't read the whole thread Didn't I read somewhere that VS2012 C++ doesn't support Windows XP? http://stackoverflow.com/questions/13492056/vs2012-c-dll-compatability From: Natalie Carr natalie.c...@measuresoft.com Sent: Friday, January 25,

Re: [WiX-users] Using Microsoft.Deployment.WindowsInstaller.

2013-01-16 Thread Christopher Painter
I suspect keyfiles are your problem also but I'd also point out that you are using Microsoft.Deployment.WindowsInstaller.Linq not Microsoft.Deployment.WindowsInstaller. Those classes, according to the SDK doco, are not fully tested. Try using Installer.OpenProduct and product.Components[]

Re: [WiX-users] Read System IP adresss

2013-01-03 Thread Christopher Painter
I would wonder *WHY* you need an IP address in an install. And *WHICH* one do you need? A machine can have multiple NICs with different versions of TCP (4/6) configured. Also your private IP might be different then your public IP based on NAT and Proxies.

Re: [WiX-users] Transition from InstallShield to WiX

2012-12-31 Thread Christopher Painter
FWIW, you might want to leave open the possibility of InstallShield *AND* WiX. I find that the two compliment each other nicely in agile / democratization scenarios. I'm always available for a telephone chat for anyone who'd like to know what I mean by this.

Re: [WiX-users] Supporting Windows 8

2012-12-06 Thread Christopher Painter
Technically it's supported, however, Windows 8 has the .NET 3.5 ( and 2.0/3.0 ) disabled by default. Additionally it's a windows update download when activating as it's not cached locally on the hard drive. From: Pally Sandher

Re: [WiX-users] heat extension - COM exe servers and 64-bit COM support

2012-11-12 Thread Christopher Painter
The first question is who'll maintain copyright. The second is which OSS license you'll want to release it under. (Generally there are two types, permissive and reciprocal ) ISWIX was written on company time at my last job and I had to get them to reassign the intellectual property rights so

Re: [WiX-users] How to invoke XmlFile standard custom action after ExitDialog

2012-11-10 Thread Christopher Painter
Complete is by definition complete. What you need to do is customize a dialog that is shown prior to ready for installation and then use that in a component condition to drive whether an XML change occurs or not. That way when you get to the complete dialog you really are complete.

Re: [WiX-users] Removing a component during a minor upgrade

2012-11-01 Thread Christopher Painter
Mark the component as transitive and give it a condition that evaluates to false. More details at: http://geekswithblogs.net/Vagmi.Mudumbai/archive/2006/06/11/81426.aspx From: Hoover, Jacob jacob.hoo...@greenheck.com Sent: Thursday, November 01, 2012

Re: [WiX-users] Installing Windows Service using WiX

2012-10-29 Thread Christopher Painter
Why do you need it after the service starts? MSI creates directories, copies files, writes registry, creates services and starts services in that order because it makes sense. You could override the default sequence and write registry after starting services but that would be for all

Re: [WiX-users] iterate all MSI tables?

2012-10-25 Thread Christopher Painter
Take a look at the Tables_ table. http://msdn.microsoft.com/en-us/library/windows/desktop/aa372924%28v=vs.85%2 9.aspx From: samuel.feren...@barclays.com Sent: Thursday, October 25, 2012 5:25 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users]

Re: [WiX-users] Registry Search

2012-10-25 Thread Christopher Painter
RegLocator/AppSearch doesn't support this. You'd have to write a custom action. From: Michael Ogilvie michael.ogil...@pixelink.com Sent: Thursday, October 25, 2012 2:38 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Burn installCondition vs Product.wxs Condition

2012-10-04 Thread Christopher Painter
While I haven't used Burn yet, I've done a lot of Setup Prereqs in InstallShield. In general, I like to either a) duplicate my prereq checks in the chainer and the MSI or put a check in the MSI that enforces that it was launched by the bootstrapper/chainer. You don't want to get in a

Re: [WiX-users] Question about Properties and Custom Actions

2012-10-04 Thread Christopher Painter
SecureCustomProperties in a merge module has always been a problem for InstallShield. It doesn't properly merge all the properties into a single property. Frankly I wish MSI had allowed for SecureCustomProperties.Guid ( starts with SecureCustomProperties) to allow for easier merging and use

Re: [WiX-users] I have heard that MSI is too complicated from a programmer's prospective

2012-10-04 Thread Christopher Painter
MSI is complicated. Setup is complicated. There is a learning curve but once you nail it, it's easy for your users. The key to MSI is that it's declarative (functional programming), transactional and has standardized support for upgrades, patches, uninstall, repair, silent and so on. Learn

Re: [WiX-users] Shortcut Element Run as administrator

2012-09-25 Thread Christopher Painter
It's not only preferred, it's the only way. An application is either logo compliant or it is not. It's not the job of the installer to mitigate it. From: Andy Clugston clug...@gmail.com Sent: Tuesday, September 25, 2012 12:49 PM To: General discussion

Re: [WiX-users] Populate a list box from a custom action

2012-09-20 Thread Christopher Painter
I have an example in C# using DTF at: http://blog.iswix.com/2008/05/how-dtf-is-going-to-help-me-become.html http://stackoverflow.com/questions/12492769/wix-remove-old-program-folder-be fore-install I know your using C++ so you'll have to look at what the underlying function is for each

Re: [WiX-users] Certificates

2012-09-18 Thread Christopher Painter
In the past I've used the x509 classes in .NET to install certs. I find the WiX extension far more elegant despite any taxonomy inconsistencies. From: Katherine Moss katherine.m...@gordon.edu Sent: Tuesday, September 18, 2012 11:11 AM To: General

Re: [WiX-users] creating database problem

2012-09-17 Thread Christopher Painter
Actually I love merge modules. :) ( well not really... ) I worked on really massive installers with hundreds of feature and merge modules and tens of thousands of files. Everything was reusable to compose different installers. The GUID suffixes make it easy to track down the source of

Re: [WiX-users] How to solve problem with failed to start service because of unsufficient privileges?

2012-09-13 Thread Christopher Painter
Are you DOMZE on StackOverFlow? From: alex376 asd734jcv9d...@yandex.ru Sent: Thursday, September 13, 2012 8:09 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to solve problem with failed to start service because of unsufficient

Re: [WiX-users] Extract contents of .MSP file just like dark does for.MSI

2012-09-13 Thread Christopher Painter
I think just do an admin install, make a copy of it, patch it and then kdiff the two directories to see which files changed. From: Steve Ogilvie sogil...@msn.com Sent: Thursday, September 13, 2012 7:22 AM To: Peter Shirtcliffe pshirtcli...@sdl.com,

Re: [WiX-users] Custom action question

2012-09-05 Thread Christopher Painter
FWIW, while .NET has the System.Environment class available, I tend to still use the MSI provided OS Properties ( [ProgramFilesFolder] [ProgramFiles64Folder] ) for these types of resolution. It's a not reinvent the wheel kind of thing. From:

Re: [WiX-users] Running an Exe

2012-09-05 Thread Christopher Painter
There is a mutex to prevent multiple execute sequences. If you are doing some kind of hack in MSI then you need to do it all from the UI sequence of the parent installer. If you want that parent to ever work silently the closest you'll get is 'non-interactive' using /qr. You didn't seem to

Re: [WiX-users] Changing product name at install time

2012-08-31 Thread Christopher Painter
to work. All the Actions before it need to not reference [ProductName] or else get the 'wrong' result. Can you think of something wrong with this or is this not good practice for some reason? On 30/08/2012 23:26, Christopher Painter wrote: No. The ProductName property is immutable once

Re: [WiX-users] Transforms and 1 generic installer

2012-08-31 Thread Christopher Painter
Are you NC1 on Stack Overflow? From: Natalie Carr natalie.c...@measuresoft.com Sent: Friday, August 31, 2012 4:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Transforms and 1 generic installer Hi, I've thought about this a great deal

Re: [WiX-users] any breaking changes between WiX 3.0 and WiX 3.5?

2012-08-30 Thread Christopher Painter
I'm pretty sure there are a few gotchas. I think the hashing (MD5 vs SHA ) was changed in 3.5 for FIPS compliance. Also I make use of Votive integration and I recall some project upgrade problems along the lines of targets files and C++ linker settings. (Certain filenames changed.) It

Re: [WiX-users] any breaking changes between WiX 3.0 and WiX 3.5?

2012-08-30 Thread Christopher Painter
I forgot to add... if you use DTF custom actions, there is a nasty little bug in 3.5 that was fixed in 3.6. I currently run 3.5 but I have downleveled the MakeSfxCA.dll ( think that's the filename ) from 3.6 to not have this race condition CA terminate issue.

Re: [WiX-users] Windows 8 NetFX3.5

2012-08-30 Thread Christopher Painter
Translating... So depending on O/S you you need to. 1) download and install an MSU to get it to show up as a feature and then call dism or similar to add the feature or 2) just enable the feature or 3) run the exe redist to install the product or perhaps on a future O/S the feature

Re: [WiX-users] Windows 8 NetFX3.5

2012-08-30 Thread Christopher Painter
is not available with the .NET Framework 3.5 on Windows 8. I don't know how many people used CardSpace but it's very odd that 3.5 is 'installed' but that an entire subsystem is missing! From: Christopher Painter chr...@iswix.com Sent: Thursday, August 30, 2012 9:33

Re: [WiX-users] Windows 8 NetFX3.5

2012-08-30 Thread Christopher Painter
Entirely too complicated! In one blog article they say windows isn't a ship vehicle for .NET and in another blog article they say that they took it out to keep the size of the foot print to a minimum. Which is it? Fortunately I don't have to worry about this right now. I can just author a

Re: [WiX-users] Changing product name at install time

2012-08-30 Thread Christopher Painter
No. The ProductName property is immutable once the installer begins. You'd have to do something like asking for the name before starting the install and then dynamically generate and apply a transform for installation. From: Jain, Mukesh

Re: [WiX-users] Burn: .NET 3.5 on Windows 2008 R2

2012-08-23 Thread Christopher Painter
Also be aware that the feature names for .NET differ between Server and Server Core. (Microsoft never makes it easier for us... always more complicated.) From: Peter Shirtcliffe pshirtcli...@sdl.com Sent: Thursday, August 23, 2012 6:59 AM To: General

Re: [WiX-users] Configure diff machines by installing on one machine,

2012-08-01 Thread Christopher Painter
I've done this type of installer many times before and whoever is giving you the requirements is off in the weeds. What you want is an installer with three feature. Web, App, Data. You run the installer on 'n' number of machines and installing the features as needed for your deployment

<    1   2   3   4   5   6   7   8   9   10   >