Re: [WiX-users] Extract Binaries at Install Time

2009-02-16 Thread Romeo Salayo Jr.
Thank you so much for the help! I have another problem, how can call the file in my dll using System.Diagnostics.Process.Start(File); Best Regards, Romeo Christopher Painter wrote: > > In Visual Studio, using the solution explorer, you can right click your > project and tell it to Add | Exis

Re: [WiX-users] WiX 3.0 + MSBuild Issues

2009-02-16 Thread Doran Wellnitz
Scratch that :)...Links got broken in email. -Original Message- From: Doran Wellnitz Sent: Monday, February 16, 2009 9:13 PM To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] WiX 3.0 + MSBuild Issues Thanks for the quick reply, but neither of those links

Re: [WiX-users] WiX 3.0 + MSBuild Issues

2009-02-16 Thread Doran Wellnitz
Thanks for the quick reply, but neither of those links appear to work... -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Monday, February 16, 2009 9:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.0 + MSBuild Iss

Re: [WiX-users] WiX 3.0 + MSBuild Issues

2009-02-16 Thread Alex Ivanoff
These should get you some ideas: http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/d0610b37-02 fa-43dc-9823-3fa867093707 http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/95bf6b1d-9 dae-48ba-b56d-08fa5ae26563 -Original Message- From: Doran Wellnitz [mailto:dor...@mi

[WiX-users] WiX 3.0 + MSBuild Issues

2009-02-16 Thread Doran Wellnitz
Hello, I'm trying to upgrade our TFS build (MSBuild) projects to use the new WiX 3.0 stuff. Unfortunately, I'm having a devil of a time passing all of the preprocessor variables to the WiX project from MSBuild. My understanding is that I should be using the DefineConstants property for passin

Re: [WiX-users] DTF LINQ Question

2009-02-16 Thread Christopher Painter
Cool, thanks for the tip. I'm in VS2008/Linq/WPF training all week so hopefully I'll get a better feel for this. Btw, you inspired me I hope you don't think it sucks. http://www.installsite.org/pages/en/msi/tips.htm#DTF_ICE Chris Christopher Painter, Author of Deployment Engineering Blog

Re: [WiX-users] DTF LINQ Question

2009-02-16 Thread Jason Ginchereau
It's a bug in the LINQ to MSI implementation. There's an easy workaround: include a WHERE clause before the SELECT. Any where clause will do, for example: where files.FileName != null -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Monday, F

Re: [WiX-users] Installing a required system file before ExecuteAction

2009-02-16 Thread Christopher Painter
You'll find it best to mitigate this dependency. Tell us more about your custom action. What language is it written in and how is the dependency file consumed? Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves

Re: [WiX-users] Installing a required system file before ExecuteAction

2009-02-16 Thread Sudripta Nandy (Sarangsoft Corporation)
I have a custom actions file which is dependent on that system file. There is one custom action which executes before 'ExecuteAction'. I can defer the execution of that custom action till before 'InstallValidate' but not later than that. So, as my custom action file depends on that system file,

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-16 Thread Michael Osmond
Joe, My appologies, I was not carefull. If you put that SQL code in a SQLString element (not SQLScript), then it is treated like a formatted MSI string, so the [REMOVE] gets expanded to the REMOVE property before execution. My understanding is that REMOVE is set to ALL for an uninstall. M

Re: [WiX-users] sql:SqlDatabase drops database on major upgrade

2009-02-16 Thread Joe Osman
Hi Michael, In your answer are you referring to WIX V2 or WIX V3? I am using V3 and when I tried to reschedule the custom action DeleteExistingProduct I got the error message: Unresolved reference to symbol 'CustomAction:DeleteExistingProduct' . In your second comment you are saying that the

Re: [WiX-users] Installing a required system file before ExecuteAction

2009-02-16 Thread Bob Arnson
Sudripta Nandy (Sarangsoft Corporation) wrote: > In my wix project, I need to install a file into the 'system' folder before > 'ExecuteAction' action. That's not supported. Why do you think you need to do that? -- sig://boB http://joyofsetup.com/

Re: [WiX-users] The Certificate element

2009-02-16 Thread Bob Arnson
Dane Anderson (Volt) wrote: > I am trying to use the Certificate element to install a certificate file > (.pfx). The problem is that Wix barfs on it. > When I try building the MSI, I get a message about the Certificate element > being unexpected. The Sourceforge > documentation > (http://wix.sou

Re: [WiX-users] Need help while integrating with MSBuild

2009-02-16 Thread Bob Arnson
Beth Hechanova wrote: > Having now read about it, I can see that its use would helpful such that > my wix installation script is not so tightly coupled to my build script. > Exactly. See also http://www.joyofsetup.com/2009/01/01/choosing-your-payloads/. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Patch Installer Issue

2009-02-16 Thread Bob Arnson
Yu, Brian wrote: > I wrote an installer ABC.1.2.3.0.msi which installs the full product > > I then create ABC.1.2.3.1msi as a patch and to install it I have to run > in command line > The MSI SDK says The product code must be changed if any of the following are true for the update:

[WiX-users] Installing a required system file before ExecuteAction

2009-02-16 Thread Sudripta Nandy (Sarangsoft Corporation)
In my wix project, I need to install a file into the 'system' folder before 'ExecuteAction' action. All other files of mine will be installed during 'InstallFiles' action as usual. How can I do that? Thanks. Sudripta. -

Re: [WiX-users] Consolidating components

2009-02-16 Thread Wendell Joost
Doing so has the potential to mess up your patching solution. Best practice is to have one versioned file (.dll, .exe) per component. http://blogs.msdn.com/windows_installer_team/archive/2006/05/12/595950.aspx Wendell Joost On Mon, Feb 16, 2009 at 10:02 AM, MacDiarmid, James D wrote: > > In my

Re: [WiX-users] Need help while integrating with MSBuild

2009-02-16 Thread Beth Hechanova
Mainly because I'm new to wix and didn't know about the -b switch to light. Having now read about it, I can see that its use would helpful such that my wix installation script is not so tightly coupled to my build script. I will have to file this away for the future. Thanks for the tip, Beth

Re: [WiX-users] Updating full package

2009-02-16 Thread Alexander Shevchuk
Hi Michael, Make sure you follow all required steps to make major upgrade work. In your simplified code I see Version attribute hard coded to "0.0.0.0". Also, you did not provide your table and how you schedule . It is not obvious from your code if you change Product/@Id with every build.

[WiX-users] The Certificate element

2009-02-16 Thread Dane Anderson (Volt)
I am trying to use the Certificate element to install a certificate file (.pfx). The problem is that Wix barfs on it. When I try building the MSI, I get a message about the Certificate element being unexpected. The Sourceforge documentation (http://wix.sourceforge.net/manual-wix2/wix_xsd_certific

[WiX-users] Consolidating components

2009-02-16 Thread MacDiarmid, James D
In my setup I have a lot of directories with components that have only one file in them. Is it ok to consolidate the files into one component per directory? Jim MacDiarmid EDS, an HP company U.S. Public Sector Department of Homeland Security Segment 703-236-3821(office) 571-247-2343(cell) --

[WiX-users] Ngenning with NetFx and ProgressText

2009-02-16 Thread Glenn Jones
Hi, We have a WiX installer that ngens dlls using priority 0 (immediate ngen). We use priority 0 because the start-up time of our product increases with non-ngened assemblies and we'd like to make a good first impression. When the installer does the ngenning, it stops with the message "Removin

Re: [WiX-users] How to invoke custom action when user clicks Cancel button?

2009-02-16 Thread cemiles
You can tie it to your control, wherein DBNameValidation my CA Id. Ex: 1 Or, if you're working with a stock dialog, you can order the control in the publish tag inside of the UI sequence. Andrew Kendall-2 wrote: > > Good day! > > I can't work out how to get a custom actio

[WiX-users] How to invoke custom action when user clicks Cancel button?

2009-02-16 Thread Andrew Kendall
Good day! I can't work out how to get a custom action to execute when the user cancels the install. Could somebody please advise me. Many thanks. Andrew Kendall -- Open Source Business Conference (OSBC), March

[WiX-users] Updating full package

2009-02-16 Thread Michael Herger
Hi! I'm working on a Windows Home Server add-in. This is not intended for production systems yet. We're publishing nightly builds and want users to be able to just install on top of what they had before. The problem I've encountered is that either the packages install as different applications

[WiX-users] Patch Installer Issue

2009-02-16 Thread Yu, Brian
I wrote an installer ABC.1.2.3.0.msi which installs the full product I then create ABC.1.2.3.1msi as a patch and to install it I have to run in command line msiexec /i "ABC.1.2.3.1.msi" REINSTALL=ALL REINSTALLMODE=vomus I put the above string in a ABC.cmd so that users can just run it by doub

Re: [WiX-users] Registry Manipulation

2009-02-16 Thread Yu, Brian
Thanks for all the contribution. Tony if you can get yours to work, please send me an example -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 09 February 2009 20:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Regist

[WiX-users] Modify existent txt file (hosts) during the installation - any standard approach for this?

2009-02-16 Thread Yan Sklyarenko
Hello WiX community, My question is probably rhetorical, but I failed to find more or less meaningful answer throughout the net. I need to modify the existent txt file during install. It is hosts file. Well, it is a consequence of creating a new IIS site and the requirement to run the application

Re: [WiX-users] Very slow performance running SQL Scripts

2009-02-16 Thread Alwayz
Hi! I'm running into performance related issues as well in WIX 2.0 when trying to create and populate a database. Creating the database and tables work just fine. However the step where the MSI package is "Creating Databases" takes about 30 minutes when I attach my database content scripts to th

[WiX-users]

2009-02-16 Thread Lough, Norman
I have a web.config with the following http://[SERVERNAME]/NormsTestWebService/Service.asmx I want to use to modify the value http://[SERVERNAME]/NormsTestWebService/Service.asmx I have a property WEBSERVICESERVER which will say something like localhost