Re: [WiX-users] Installer Error, Process aborted unexpectedly

2009-03-03 Thread Jacob, Christian
Jacob, Christian wrote: While everything works as expected on my machine (32bit Windows Vista), the setup gives me an error message when being run on a 64bit Windows Server 2008 saying that the process has been aborted unexpectedly. What's the error message? Check the application event log

[WiX-users] Localization: Multiple cultures / Single MSI

2009-03-03 Thread Olivier Cochelin
Hello, I am rewriting with WiX 3 the installer of our product previously based on Wise. Only two cultures are supported, en-us being the default. Whatever the culture, the binaries installed on the target machine are the same. So, what I would like to have is a single MSI embedding localized UI

[WiX-users] How to create a new sql instance in SQL Express 2005 using Wix

2009-03-03 Thread Prabhakaran Paulraj
Hi I first of all thank you for the persons who helped me to solve the issue which i had earlier. I had earlier asked for how to install SQL Express 2005 included in the setup using wix. I am using Wix 2.0, .NET 2.0 VS 2005 (C#), SQL Express 2005. Now i want to create a new SQL instance in

[WiX-users] Installing to multiple disks

2009-03-03 Thread JeroenRemie
Hello, I am pretty new to WiX, but for a project in my company we have decided to use it to create an installer to facilitate automated releases and release updates. For this project, we need to install files to both the C and D drive of our Test and Develop enviroments. It seems like WiX will

[WiX-users] Multiple Entries in Add Remove Programs

2009-03-03 Thread NileshKumarChauhan
Hi All I am developing installer for a Application Suite, and the structure is follows: Application Core | |___ Flavor1 |___ Flavor2 |___ Flavor3 Here is my problem, Add remove programs should have entries for ApplicationCode, Flavor1, Flavor2, Flavor3. I should be able to

Re: [WiX-users] Installing to multiple disks

2009-03-03 Thread Neil Sleightholm
TARGETDIR is just the root for Directory elements, you can add sub elements to this that are for each drive you want to install to. You will need to set these with a property or the SetDirectory element, e.g.: SetProperty Id= APPLICATION Value=C:\ After=CostInitialize / SetProperty Id=

[WiX-users] IIsExtension and Conditional Setup

2009-03-03 Thread Anton Smirnov
Hi, I need to understand how create conditional setup of my web application. I have conditions, that specify in UI: (1) Use a Virtual Directory or Separate Web Site (2) Use Windows Integrated Security or Default (3) ip, port, alias, ... it's not so important If user select

[WiX-users] OT: Windows Installer version number

2009-03-03 Thread Neil Sleightholm
Slightly of topic but does anyone one know why Windows Installer only recognises 3 part version numbers? It makes it a real pain to handle automated builds that use the last part for builds within a day. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com

Re: [WiX-users] Installing to multiple disks

2009-03-03 Thread JeroenRemie
Thanks Neil! Neil Sleightholm wrote: TARGETDIR is just the root for Directory elements, you can add sub elements to this that are for each drive you want to install to. You will need to set these with a property or the SetDirectory element, e.g.: SetProperty Id= APPLICATION

Re: [WiX-users] Localization: Multiple cultures / Single MSI

2009-03-03 Thread Yan Sklyarenko
This has been discussed here some time ago. You have only two options: either a separate MSI package for each language, or one package + multiple language transforms you should choose from and apply during install. Hope this helps. -- Yan -Original Message- From: Olivier Cochelin

Re: [WiX-users] OT: Windows Installer version number

2009-03-03 Thread Christopher Painter
You know, I've always wondered that also. It's caused me to get in more then quite a few disagreements with development/management over the years. When it settles in that it simply is what it is they are very unhappy with one of them once saying well that's the tail wagging the dog.

Re: [WiX-users] How to change the installed config file after msi setup

2009-03-03 Thread Anu Dev
Hi I had a similar kind of issue. You would get Access Denied exception only if you install in Program Files or in any other location where there are restricted permissions (this is mostly on Vista). If you try installing your applicaiton in C:\ see that it works perfectly. The problem is

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Jacob, Christian
I am not sure, since I am primarily working with InstallShield. But maybe you are searching for setupbld.exe? Look for it within this Mailing List. I used it for example to chain an MSI and an MSP together. Regards, Chris. -Ursprüngliche Nachricht- Von: Graham Allwood

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Martin MacPherson
There is always the MSBuild GenerateBootstrapperTask. ( http://msdn.microsoft.com/en-us/library/ms164294.aspx) http://msdn.microsoft.com/en-us/library/ms164294.aspx I've not used it but imagine it isn't the most flexible/powerful solution. It looks pretty straightforward however. 2009/3/3 Jacob,

Re: [WiX-users] OT: Windows Installer version number

2009-03-03 Thread Thomas S. Trias
Heh; this bit me in the butt at first too; luckily the ICE warning about the min and max versions being the same (even though they differed by build number) gave me a clue as to what was going on. Couple this with the fact that the revision number in VB6 (don't ask) is actually the build

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Wilson, Phil
There's this too that I think is a different one, right? http://code.msdn.microsoft.com/bmg Phil Wilson -Original Message- From: Martin MacPherson [mailto:mar...@metapixel.co.uk] Sent: Tuesday, March 03, 2009 6:50 AM To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] Installing to multiple disks

2009-03-03 Thread Neil Sleightholm
The SetProperty can be scheduled with the Before and After attributes. Although I used SetProperty in this example SetDirectory might be more appropriate (but it can't be scheduled), e.g.: SetDirectory Id=DATALOCATION Value=[WindowsVolume]My Data Folder![CDATA[DATALOCATION=]]/SetDirectory (The

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Simon Dahlbacka
On Tue, Mar 3, 2009 at 7:43 PM, Wilson, Phil phil.wil...@wonderware.com wrote: There's this too that I think is a different one, right? http://code.msdn.microsoft.com/bmg yes and no, It is not a bootstrapper but a tool is useful together with GenerateBootstrapperTask, specifically if you have

Re: [WiX-users] Installing to multiple disks

2009-03-03 Thread Thomas S. Trias
Thanks! I will have to see what each approach does to the MSI... Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ Original Message Subject: Re: [WiX-users] Installing to multiple disks From: Neil Sleightholm n...@x2systems.com To:

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Anu Dev
HI What prerequisites are you looking for... .NetFramework? Let me know.. I have worked on it and its quite easy to include them in WIX. Thank you Anweshi   From: Wilson, Phil phil.wil...@wonderware.com To: General discussion for Windows Installer XML

[WiX-users] QtExecDeferred error about quoted application name

2009-03-03 Thread Shannon Ma
Hello, I'm trying to silently run a command-line app via the following: Property Id=MMCPERFSEARCH DirectorySearch Id=MmcPerfSystemFolderPath Path=[SystemFolder] FileSearch Name=mmcperf.exe / /DirectorySearch /Property Property Id=QtExecDeferred

[WiX-users] Stubs vs Merge Modules

2009-03-03 Thread James Lin
Does anyone know what's the different of using Wix Merge Modules vs. Stubs? thanks -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open

Re: [WiX-users] DTF Session object properties

2009-03-03 Thread Jason Ginchereau
Hi Shawn, DTF's FeatureInfo class uses the MsiGetFeatureInfo API to retrieve the feature's attributes, title, and description. According to MSDN ( http://msdn.microsoft.com/en-us/library/aa368612.aspx ), MsiGetFeatureInfo is on the list of functions that must never be called from a custom

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Graham Allwood
Hi Anweshi, My application current requires things like: .NET 3.5 SP1, SQLNCLI, SQLCMD, Windows Installer 3, Crystal Reports 12. There may be others too. Is there something in the Wix MSBUILD tasks that can produce a Setup.exe to launch these pre-reqs? Regards Graham

[WiX-users] Does anyone know how best to capture the registry changes made by RegAsm / RegTlib?

2009-03-03 Thread Thomas S. Trias
Heat works well for self-registered DLLs; is there a similar technique that one can use for the results of RegAsm / RegTlib on a .NET assembly / type library? Is there a way to get a child process to inherit the Registry re-mappings? The same thing would be useful for self-registered EXEs.

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Arun Perregatturv
This might help you even though it's for VS 2005 but this will work with VS2008. I was able to get Windows Installer 4.5, NET35 SP1, SQL 2008,VC++2005 Runtimes and Crystal Reports 10.5. http://msdn.microsoft.com/en-us/library/aa730839(VS.80).aspx#custompkg_creatingaproductmanifest Arun

[WiX-users] RegistrySearch and subkeys?

2009-03-03 Thread amunk
Hi, I have a product that is installed using MSI created using Wix. The product can host different Plugins that are also installed using WIX MSI packages. The main application is writing the INSTALLDIR to the registry so the installers for the Plugins know where they should be installed. This

Re: [WiX-users] Interpreting Return Codes of Executable Custom Action (type 2)

2009-03-03 Thread Alan Sinclair
My solution is to have the CA invoke a DLL, which in turn execs the .exe and interprets the return code. Yes, it's more work, but it works cleanly, and the DLL can hook into the MSI API to write to logs etc. -Original Message- From: DONG LEE [mailto:dongl...@gmail.com] Sent: Sunday,

Re: [WiX-users] Does anyone know how best to capture the registry changes made by RegAsm / RegTlib?

2009-03-03 Thread Thomas S. Trias
Well, RegAsm has the /regfile switch, but it doesn't work with the /tlb option; RegTLib has no such switch; I suppose I could embark on the wonderful world of code injection (which I'm sure my virus scanner will love), but even with CreateRemoteThread it looks pretty nasty. I recall how

Re: [WiX-users] Does anyone know how best to capture the registry changes made by RegAsm / RegTlib?

2009-03-03 Thread Neil Sleightholm
Heat can capture quite a lot but not self-reg exes. I have also used something called RegSpy but I can't remember where it came from. Neil -Original Message- From: Thomas S. Trias [mailto:tomtr...@artizan.com] Sent: 03 March 2009 19:31 To: 'General discussion for Windows Installer XML

[WiX-users] No reboot prompt but log shows reboot scheduled

2009-03-03 Thread Swandog
Hi: I have an MSI that sets up a Web site (IIS) that uses several COM DLLs and a Windows service (not Web service). The MSI is used for new installations as well as upgrade existing installations. Occasionally upgrades are not completely successful because a COM DLL is loaded in memory

Re: [WiX-users] Does anyone know how best to capture the registry changes made by RegAsm / RegTlib?

2009-03-03 Thread Wilson, Phil
These should still work for self-registering exes, here: http://installsite.org/pages/en/msi/tips.htm Scroll down to RegSpy. It indeed uses CreateRemoteThread and RegOverridePredefKey. Somebody also extended it to do tlbs, RegSpy2. The source is all there. The original magazine article is

Re: [WiX-users] Bootstrap x86 + x64 Framework v2?

2009-03-03 Thread Ben Cheetham
Hi Anweshi, Thank you for that, it all makes sense. It's the Product.xml for the 64-bit installer package I am missing then. I've just looked through the CAB files on the VS2005 Pro and VS2008 Std Setup DVDs I own and can't find a 64-bit produc.xml file for .NET v2 (found product.xml files for

Re: [WiX-users] Remove File Issue on Vista

2009-03-03 Thread gaurav tiwari
Resending.. Please reply as it is a blocking issue.. I need to remove the “user.config” file which gets created for user level settings in my window app. This file is getting created under %localappdata%\Company Name\StrongKey\ProductVersion folder. I have written the following to delete

[WiX-users] System Restore

2009-03-03 Thread Ben Cheetham
Is a System Restore Point automatically created either before and/or after a Windows Installer installation is run? If not, is it possible to force the creation of one via a custom action or otherwise? Thanks, Ben --

[WiX-users] InstallExecute not defined?

2009-03-03 Thread Simon Dahlbacka
wix 3.0.5020 I'm trying to schedule RemoveExistingProducts after InstallExecute like so InstallExecuteSequence RemoveExistingProducts After=InstallExecute / /InstallExecuteSequence but I'm getting the following error: Error 1 Unresolved reference to symbol

Re: [WiX-users] InstallExecute not defined?

2009-03-03 Thread Chad Petersen
There's InstallInitialize and InstallFinalize and many others, but I've not heard of InstallExecute. Use Orca to look at your InstallExecuteSequence and it will help you figure out what is valid. -Original Message- From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] Sent: Tuesday,

[WiX-users] Conditionally set a property from command line?

2009-03-03 Thread David Bartmess
I've looked all over and not found a good answer to this. I'm trying to set a property within WIX to a value set on the command line. If there's not a command line property set, then it should read the value from the registry. But I can't seem to get the syntax right, it either 1) always uses

Re: [WiX-users] System Restore

2009-03-03 Thread Bob Arnson
Ben Cheetham wrote: Is a System Restore Point automatically created either before and/or after a Windows Installer installation is run? Yes, if System Restore is enabled. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] No reboot prompt but log shows reboot scheduled

2009-03-03 Thread Bob Arnson
Swandog wrote: After installation completes, there was no reboot prompt. The DLL was replaced. I was unable to reproduce the issue where the COM DLL was not replaced but what is worse, it's not clear why there was no reboot prompt and how the MSI was able to replace the DLL while it was

Re: [WiX-users] Stubs vs Merge Modules

2009-03-03 Thread Bob Arnson
James Lin wrote: Does anyone know what's the different of using Wix Merge Modules vs. Stubs? What's a stub? -- sig://boB http://joyofsetup.com/ -- Open Source Business Conference (OSBC), March 24-25, 2009, San

Re: [WiX-users] Installing to multiple disks

2009-03-03 Thread Bob Arnson
Neil Sleightholm wrote: The SetProperty can be scheduled with the Before and After attributes. Although I used SetProperty in this example SetDirectory might be more appropriate (but it can't be scheduled), SetDirectory can't be scheduled because there's only one place it should go.

Re: [WiX-users] Installer Error, Process aborted unexpectedly

2009-03-03 Thread Bob Arnson
Jacob, Christian wrote: It's really just that. A small dialog with the title Installer Error and the one sentence saying that the process has been aborted unexpectedly. Actually it's a german message, but that should be the correct translation. ;-) The Event logs don't have anything to say

Re: [WiX-users] QtExecDeferred error about quoted application name

2009-03-03 Thread Bob Arnson
Shannon Ma wrote: CustomActionSchedule(Action=QtExecDeferred.FCB72E31_FB83_4E57_9058_69C40A8DB563,ActionType=1089,Source=BinaryData,Target=CAQuietExec,CustomActionData=[SystemFolder]mmcperf.exe) MSI (s) (B8:8C) [18:46:13:199]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI8.tmp,

Re: [WiX-users] InstallExecute not defined?

2009-03-03 Thread Bob Arnson
Simon Dahlbacka wrote: I'm trying to schedule RemoveExistingProducts after InstallExecute like so Generally, before InstallFinalize is the right way to go. I'm not sure why WiX doesn't include InstallExecute as a normal action, though... -- sig://boB http://joyofsetup.com/

Re: [WiX-users] InstallExecute not defined?

2009-03-03 Thread Simon Dahlbacka
On Wed, Mar 4, 2009 at 12:39 AM, Bob Arnson b...@joyofsetup.com wrote: Simon Dahlbacka wrote: I'm trying to schedule RemoveExistingProducts after InstallExecute like so Generally, before InstallFinalize is the right way to go. If I do that I'm greeted with an ICE63 Warning Some action falls

Re: [WiX-users] InstallExecute not defined?

2009-03-03 Thread Wilson, Phil
I don't think the documentation is particularly helpful, but a working sequence as the last three items in the execute sequence is InstallExecute, RemoveExistingProducts, InstallFinalize. Phil Wilson -Original Message- From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] Sent:

[WiX-users] Setting environment variable: PATH

2009-03-03 Thread Reddy, Mallikarjun (GWM-CAI)
Hello All, appreciate your help on this as I tried everything possible. I am setting PATH variable with a path. It is getting set. But I am not able to run an exe present in the path using Start--Run. However when I open the environment variable window manually and click OK without making any

[WiX-users] WiX 3.0: How to copy a directory(folder) recursively

2009-03-03 Thread Brian Young
We're using WiX version 3.0.4805.0. We need to copy a directory recursively. Say, there are some user data files saved in the User's 'AppDataFolder', for example, something like C:\Documents and Settings\user_login\Application Data\CompanyName\ProductNameA. Now we need to change our proudct

[WiX-users] Scheduling RemoveExistingProducts after InstallExecute

2009-03-03 Thread Scott, James (TSG RD - Fort Collins)
The RemoveExistingProducts documentation details four locations where it can be sequenced. The third location is between the InstallExecute/InstallExecuteAgain action and the Installfinalize action. Neither InstallExecute nor InstallExecuteAgain is automatically included in the sequence -- it's

Re: [WiX-users] Conditionally set a property from command line?

2009-03-03 Thread David Bartmess
More information... It looks like the Property action isn't being executed by the time the UI displays the page that I use to verify the contents. Where should I schedule the CA's so that they come after the Property calls but before the UI is displayed? Thanks! Property

[WiX-users] Uninstall conditions! which one should I use?

2009-03-03 Thread DONG LEE
I wrote a custom action that I call at an uninstall time. Right now, I have something like... CustomAction Id=UninstallAction BinaryKey=... DllEntry=... Impersonate='no' Execute=deferred Return=check/ InstallExecuteSequence . . . Custom Action=UninstallAction

Re: [WiX-users] Bootstapper in VS 2008

2009-03-03 Thread Graham Allwood
Thanks Arun, Its more the process of generating the Setup.exe and having that linked to the packages I was looking for. Graham -- From: Arun Perregatturv aperregatt...@napcosecurity.com Sent: Tuesday, March 03, 2009 7:31 PM To: General discussion

[WiX-users] Installation of certificate problem with IIS 7.0

2009-03-03 Thread Joe Osman
I am installing a self signed certificate into the local machine store. When I open the IIS manager and I navigate to Installed Certificates I can't see the certificate there. Here is my code: iis:Certificate Id='TaitCertificate' PFXPassword='[CERTIFICATEPASSWORD]'

Re: [WiX-users] No reboot prompt but log shows reboot scheduled

2009-03-03 Thread Gregory Swanson
Ah - I see. The difference between my test scenario and the broken update is that the log for the broken update shows an Info 1903 line scheduling a reboot to delete the DLL file, not the .RBF file. Thanks - Greg Date: Tue, 3 Mar 2009 14:36:16 -0800 From: b...@joyofsetup.com To:

Re: [WiX-users] Uninstall conditions! which one should I use?

2009-03-03 Thread Joe Osman
If you look at the verbose log generated on Reinstall you can see that one of the first actions is RemoveExistingProducts and I assume that this action sets the value of REMOVE to be ALL. You should also look at what happens on a major upgrade as the first step of a major upgrade is

Re: [WiX-users] Conditionally set a property from command line?

2009-03-03 Thread Bob Arnson
David Bartmess wrote: Custom Action=CAWEBUIURL2 Before=AppSearch![CDATA[NOT CLWEBUIURL OR Try After=AppSearch -- RegistrySearch is processed by AppSearch so your CA is being executed before the value is read from the registry. Also, if the registry value isn't found, MSI won't change

Re: [WiX-users] WiX 3.0: How to copy a directory(folder) recursively

2009-03-03 Thread Bob Arnson
Brian Young wrote: We need to copy a directory recursively. MSI doesn't support that. You can do wildcards but not ad-hoc subdirectories. -- sig://boB http://joyofsetup.com/ -- Open Source Business Conference

Re: [WiX-users] Scheduling RemoveExistingProducts after InstallExecute

2009-03-03 Thread Bob Arnson
Scott, James (TSG RD - Fort Collins) wrote: (Request Context) I'm trying to push the REP position in an existing installer from before InstallInitialize into the script somewhere so I can add CA's to back up configuration files, and I'm trying to figure out where the best place is.

[WiX-users] Source attribute of Media element

2009-03-03 Thread Daniel Newmarch
Hi, I'm creating a patch for an installer and don't want to embed the cab in the .msp file. From the Wix documentation it appears that if I'm going to do that I need to set the Source attribute of the Media element. So I've tried that but it seems regardless of what I put in the source