Re: [WiX-users] Own UI-File

2009-03-12 Thread Bahn Thomas
Thanks, this helped. The next problem i have, is to specify the ErrorText-Control to appear in Control_First field of the dialog table. Which Attribute let me set this in WiX? Von: Bob Arnson [...@joyofsetup.com] Gesendet: Mittwoch, 11. März 2009 18:14

[WiX-users] Enable logging inside MSI package

2009-03-12 Thread Jacek Dudziak
Is it possible to turn on verbose logging from inside the MSI package itself? Today my customers can do it by running 'msiexec /l*v' but the problem is that they do not know that command, as they usually double click on the MSI file itself. I know I can make it work by creating setup.exe

[WiX-users] xp x64 detection

2009-03-12 Thread Calin Iaru
Hi, I did not test my msi on XP X64 and someone actually came and reported an error. I see that my installer follows the guidelines at http://msdn.microsoft.com/en-us/library/aa370556(VS.85).aspx but also that someone reports a documentation bug. Is VersionNt 501 or 502 for XP X64? I don't

Re: [WiX-users] xp x64 detection

2009-03-12 Thread Yan Sklyarenko
This is a condition I use to detect the WinXP 64-bit: VersionNT64 = 502 AND MsiNTProductType = 1 Note that you should address VersionNT64 instead of VersionNT for 64-bit systems. MsiNTProductType = 1 means workstation, which differentiates it from domain controller (MsiNTProductType = 2) and

Re: [WiX-users] Major Upgrades without version change

2009-03-12 Thread Neil Sleightholm
I don't think that is that case as my RemoveExistingProducts is scheduled at the beginning (if it wasn't I think you are correct). As you say major upgrades are the best solution but that just doesn't work with automated builds that use 4 part version numbers. Neil Neil Sleightholm X2

[WiX-users] Wix, SQL and Custom Data

2009-03-12 Thread Prabhakaran Paulraj
Hi Everyone, I am a newbie to Wix and i am using wix 2.0. I need to get the client machine name(all in caps) and pass this as a parameter as my SQL Server name. I got this by this following property /   here it gives me the computer name but not in caps. I need this in caps since the SQL

Re: [WiX-users] WixToolPath variable

2009-03-12 Thread Kim Gybels
Instead of using the WixToolPath variable I found that I can use the WIX environment variable. I set my additional linker options to: -ext WixDifxAppExtension -ext WixUIExtension $(WIX)bin\difxapp_x86.wixlib This works like a charm. - Kim -- *Kim Gybels Software Developer *

Re: [WiX-users] creatind DB and running SQL script

2009-03-12 Thread akash bhatia
hi Michael, thanks for your reply. that is wat i got from Event viewer and same from verbose log, which is as below CreateDatabase: Error 0x80040e14: failed to create to database: Akash_DB, error: CREATE DATABASE failed. Some file names listed could not be created. Check related errors. Error

[WiX-users] Pyro system requirements

2009-03-12 Thread Alexander Schulz
Hello everyone, I want to build patches (binary-diff) using the Purely WiX method. In my installation are some *.exe-files, every file is about 30 MB. I just have a Pentium 4 with 512 MB RAM and wait for every patch more than 2 hours. What could be a good hardware to do such a job? Or is there

Re: [WiX-users] creatind DB and running SQL script

2009-03-12 Thread Don Benson
If you use SQL Profiler to monitor the RPC calls to the database server, you should be able to capture the full SQL statement that is being used to create the database. Knowing the statement that was sent to the SQL Server will help with figuring out what is going wrong. - Don Benson - On Thu,

[WiX-users] Bootstrapper selection questions - Specific scenario requirements

2009-03-12 Thread Holmgren Mathias
I've read up a bit on bootstrappers, but can't figure out yet which path to take on this. - We got an application MSI built using WiX 3, works great - Application uses Office PIA* to integrate real time with Excel (data update, app-excel) - Depending on the Excel version, our app MSI installs a

[WiX-users] Re-evaluating feature conditions

2009-03-12 Thread Jackie Ng
Hi All, I am currently writing a wix installer for the MapGuide Open Source project (http://mapguide.osgeo.org), and I am having some problems with regards to enabling/disabling features. I have a feature named WebExtApacheFeature (Apache Web Server) which has a disabling condition (MGWEB_CONFIG

Re: [WiX-users] Bootstrapper selection questions - Specific scenario requirements

2009-03-12 Thread Don Benson
I've spent the past couple weeks configuring a bootstrap process with dotNetInstaller beta version 1.6. dotNetInstaller can handle pretty much everything you require except for the following statements: Removal: It sounds like you are asking the removal of your app to remove the prerequisites

Re: [WiX-users] Bootstrapper selection questions - Specificscenario requirements

2009-03-12 Thread Holmgren Mathias
Thanks for the good feedback Don! My questions and comments inline, Removal: It sounds like you are asking the removal of your app to remove the prerequisites that the bootstrapper installed. Bootstrappers are not designed to do this because it is a bad idea. Other programs may need these

[WiX-users] Custom action only executed on install

2009-03-12 Thread wimpos
Hi I have a custom action in my wix installer executing a powershell script. This scripts adds a line to a file. Now a line get's added when I install my app AND when I uninstall my app. Is it possible to configure a custom action to only be executed on install? thank you for your time Kind

[WiX-users] FW: Permanent xml tag for File?

2009-03-12 Thread Hugo Vale
Hi, I recently changed one of my visual studio setups to WiX. However I'm having trouble in finding out a replacement for the 'Permanent' property on the files being deployed. Is there such a functionality when deploying files through WiX? Basically, I don't want that file to be

Re: [WiX-users] FW: Permanent xml tag for File?

2009-03-12 Thread Brian Rogers
Hey Hugo, Have you looked at the Component/@Permanent attribute? http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Thu, Mar 12, 2009 at 10:07 AM, Hugo Vale hugov...@gmail.com wrote: Hi,

Re: [WiX-users] FW: Permanent xml tag for File?

2009-03-12 Thread Brian Simoneau
Components can be marked Permanent. Any files in the component would not be uninstalled. -Brian Simoneau -Original Message- From: Hugo Vale [mailto:hugov...@gmail.com] Sent: Thursday, March 12, 2009 1:07 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: Permanent xml tag

Re: [WiX-users] Enable logging inside MSI package

2009-03-12 Thread Wilson, Phil
MSI 4.0 has the MsiLogging and MsiLogFileLocation properties, but you're correct, there's nothing before that except MsiEnableLog in the calling process. Phil Wilson -Original Message- From: Jacek Dudziak [mailto:jacekdudz...@hotmail.com] Sent: Thursday, March 12, 2009 1:52 AM To:

Re: [WiX-users] How to define source for System files in GAC

2009-03-12 Thread Bob Arnson
Ghazala Fazil wrote: I am new on wix. I want to include some of the public assemblies from the GAC into the setup but WiX doesn't support that; it's generally a bad idea to pick up arbitrary deployed files. Instead, the files you need to deploy should be built or checked in to your

Re: [WiX-users] Own UI-File

2009-03-12 Thread Bob Arnson
Bahn Thomas wrote: The next problem i have, is to specify the ErrorText-Control to appear in Control_First field of the dialog table. Which Attribute let me set this in WiX? Make it the first child element of the Dialog. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Re-evaluating feature conditions

2009-03-12 Thread Bob Arnson
Jackie Ng wrote: When I run this installer, if I pick Bundled Configuration or Manual Configuration, when I get to the feature selection dialog, the Apache Web Server feature is still enabled when I would have expected it to be disabled because I changed the value of MGWEB_CONFIG. Is there a

Re: [WiX-users] Pyro system requirements

2009-03-12 Thread Bob Arnson
Alexander Schulz wrote: I just have a Pentium 4 with 512 MB RAM and wait for every patch more than 2 hours. What could be a good hardware to do such a job? Or is there another way ? You're likely running low on memory. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Getting MSI Execution Directory

2009-03-12 Thread greenaj
Checkout the SourceDir Property. Just don't do that during an Uninstall or any other time you would not want the source directory to be resolved (resulting in a promt). Regards, agreen troy hostetter troy.hostet...@gmail.com wrote: Is there any way to get the directory in which the msi

Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

2009-03-12 Thread Scott Sam
I figured out my problem. I was using [SystemFolder]inetsrv\config\applicationHost.config as the file, which resolved to c:\windows\syswow64\inetsrv\config\applicationHost.config. I switched to [WindowsFolder]System32\inetsrv\config\applicationHost.config, and that worked. -Original

Re: [WiX-users] How to define source for System files in GAC

2009-03-12 Thread Ghazala Fazil
Hi Bob, Actually my program is not refereing such libraries. As I am moving the project form the Visual Studio to the Wix. I have noticed these additional files. So I thought may be I can add them in Wix as well. Thanks a lot Bob fro saving me from more searching. Regards, Ghazala On Thu, Mar

Re: [WiX-users] FW: Permanent xml tag for File?

2009-03-12 Thread Hugo Vale
Thanks guys, that worked. I changed the file to be independently on its own component and then assign the Permanent attribute to that component. Hugo Vale -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Thursday, March 12, 2009 1:31 PM To: General discussion

Re: [WiX-users] Major Upgrades without version change

2009-03-12 Thread Castro, Edwin (Hillsboro)
System.Version defines the following format: major.minor[.build[.revision]] We defined those as follows: The product release defines major and minor numbers (static and changed manually). The build number is the CI build number (automatically increments by one every build). The revision

Re: [WiX-users] Enable logging inside MSI package

2009-03-12 Thread Jacek Dudziak
Is there a way to change those properties using WIX? -- From: Wilson, Phil phil.wil...@wonderware.com Sent: Thursday, March 12, 2009 10:46 AM To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re:

[WiX-users] Passing command line options to wix file

2009-03-12 Thread Sudripta Nandy (Sarangsoft Corporation)
In my setup program, the user needs to specify certain properties (like install location) from the command line. I am declaring these properties within my wix file and depending on the value of these properties, I am doing different stuff. How do I do that? Can I pass command-line options to be

Re: [WiX-users] creatind DB and running SQL script

2009-03-12 Thread Michael Osmond
Akash, The problem is unlikely to be WIX or MSI problem as such, so I doubt that all the DTF CA work would be worth it. The error is an SQL error, and to me appears to be either path or file name related. SQL databases are persisted on the file system as a set of files, and it is in creating

Re: [WiX-users] Major Upgrades without version change

2009-03-12 Thread Neil Sleightholm
That is one view of version numbers but it doesn't work for me. It relies on there being a single source of the build number, if two builds are started on different servers were does the build number come from. Using revision from the source repository doesn't work if the repository moves or

Re: [WiX-users] Major Upgrades without version change

2009-03-12 Thread Castro, Edwin (Hillsboro)
You are correct. We do rely on a single source for the build number, we only have one build server, and we don't expect our repository to move/change during the lifetime of our project. Developer builds are not consumed outside the individual developer and we have found that version numbers

Re: [WiX-users] Custom action only executed on install

2009-03-12 Thread Don Benson
Try putting a condition of Not Installed on the Custom element where you sequence the action. - Don Benson - On Thu, Mar 12, 2009 at 12:57 PM, wimpos wimdevosp...@gmail.com wrote: Hi I have a custom action in my wix installer executing a powershell script. This scripts adds a line to a

Re: [WiX-users] Passing command line options to wix file

2009-03-12 Thread Don Benson
Public properties can be defined on the command line. Any properties that are all caps (e.g. INSTALLDIR) are public properties. An example of a public property used by some of the WiX extensions is LOGVERBOSE. The following example would run the installer with the built-in logging and set two

Re: [WiX-users] Bootstrapper selection questions - Specificscenario requirements

2009-03-12 Thread Don Benson
On Thu, Mar 12, 2009 at 12:01 PM, Holmgren Mathias mathias.holmg...@six.sewrote: I just want uninstall to remove all application components (ie exe+interop dll), regardless if those components where installed at first install (primary scenario) or in a second module install according to the

Re: [WiX-users] creatind DB and running SQL script

2009-03-12 Thread akash bhatia
hi, problem solved thanks all for your valuable inputs. some problem with SQL only. not able to figure out what...ll share once figure it out. moreover i have made some changes to wxs file as well and tested on other server... its working fine... Component Id =RUNSQL Guid ={my-GUID}