[WiX-users] Need Exit code list for Candle.exe and Light.exe

2009-06-08 Thread Prasoon Kumar Gupta
Hi, I am making a tool which calls candle and light.exe in background and generates a installer. I want to display the error or warning message if any to the user. I need a list of all Exit Codes of both the EXE so that at runtime I can distinguish if the executables ended with warning or

[WiX-users] UAC dialog poping up

2009-06-08 Thread sandun css
Hi, When I run my installer, the UAC dialog appears just before the installer starts copying files. Is there a way to make it appear at the start of the msi. (before welcome page) ? I am running the msi as an Administrator. Thanks, Saman

[WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Natarajan, Thangaraj (MLITS)
Hi All, I have some issue in Removing the Folder during uninstallation. Please Find the Wix script below. Directory Id=TARGETDIR Name=SourceDir Directory Id=INSTALLDIR Name=BACS_ID_Reservation_Interface Component Id=COMP1 Guid=AC12D5D4-7AF0-4919-BDD7-3708C8C129E5

[WiX-users] What IDE do you use to develop Wix Project?

2009-06-08 Thread Jiang, Chunyan (GE Healthcare)
Hi, I want to use Wix to develop the installation of my project. I have installed the Votive plug-in for Visual Studio. But it is only simple XML editor in Visual studio. You have to write all the components manually. I also tried WixEdit, which sounds easy to create MSI installer package. But

[WiX-users] having trouble validating server port for IIS websites

2009-06-08 Thread Michal Peled
Hi all, As a part of my installation, I give the user the option to create a new website. For this, I have a control in which the user can specify the new website port. Using a MaskedEdit type control, I was able to limit this field to 5 numeric characters, but found out that this has a

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Curtis Jewell
If the folder has files in it the MSI didn't put there, it won't get deleted unless you have a custom action delete the files first (or tell Windows Installer to do so) If you want source for such a custom action, try

Re: [WiX-users] What IDE do you use to develop Wix Project?

2009-06-08 Thread Brooke Philpott
I did everything in raw xml in visual studio. I edited a couple of the ui elements in SharpDevelop as it has a wix Dialog editor which makes visualization of the UI easier than having to compile/run. I found that manually doing most of it helped me understand the underlying relationship between

Re: [WiX-users] UAC dialog poping up

2009-06-08 Thread Brooke Philpott
You have to use a bootstrapper with an embedded manifest that launches the MSI to do that. I think it's considered best practice to let the dialog come before the file copy as it does by default. -Brooke -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Monday, June

[WiX-users] How to define reference path

2009-06-08 Thread Jiang, Chunyan (GE Healthcare)
Hi, I am new to Wix. And I am trying to build my Wix Project. If I want to define: File Id=MyAppFile Name=MyApp.exe src=MyApp.exe DiskId=1 In src I must set the path for the file. However, I must have the MyApp.exe at the same location as project.wxs, otherwise I have set the absolute path,

[WiX-users] Wix variables when building with Microsoft.Build.BuildEngine

2009-06-08 Thread Lough, Norman
Just to add to the previous mail, the following line is also in the project file WixVariablesWixUILicenseRtf=Branding\Imass FiReControl Eula.rtf; WixUIBannerBmp=Branding\Imass Infoterra Logo 493x58 Right Align.bmp/WixVariables Norman Lough Developer Tel: +44 (0)191 213 DDI:

Re: [WiX-users] FileSearch not working.

2009-06-08 Thread David Bartmess
Duh... I made the change to the Path attribute, but it's still not finding either of the files. The log output is below. I verified that the file exists (at least MCT.exe does, the applications.xml is created by the install) . The applications.xml is being checked because it should be created

Re: [WiX-users] Using a WixVariable to specify Product/@Version

2009-06-08 Thread Castro, Edwin G. Castro (Hillsboro)
I'll check sourceforge and add the feature request if it doesn't exist yet. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail -Original

Re: [WiX-users] How to define reference path

2009-06-08 Thread gulfam murad
Look for 'Preprocessor' in wix documentation. On Mon, Jun 8, 2009 at 9:24 AM, Jiang, Chunyan (GE Healthcare)chunyan.ji...@ge.com wrote: Hi, I am new to Wix. And I am trying to build my Wix Project. If I want to define: File Id=MyAppFile Name=MyApp.exe src=MyApp.exe DiskId=1 In src I

[WiX-users] Getting Not Valid Foreign Key Error on Fragment

2009-06-08 Thread MacDiarmid, James D
I'm getting the following error on the fragment below. Any ideas on how I can fix this? ICE03: Not a valid foreign key; Table: Registry, Column: Value, Key(s): reg82F2FC0E8673F402AF338328B5020A2C Fragment Code --- ?xml version=1.0 encoding=utf-8? Wix

Re: [WiX-users] FileSearch not working.

2009-06-08 Thread David Bartmess
I found the problem. The TOOLSDIR directory is not created at the time that the global property is being set after AppSearch. Is there any way to get around this? Can a TOOLSDIR property be set before AppSearch is complete, or do I need to hard-code the path in there? Source: Product

[WiX-users] Imp- Problem with un-installation

2009-06-08 Thread Rahul.Ekbote
Hi, I am facing very serious and wearied problem. When I am un-installing my product, my machine's TCP/IP protocol gets rest. It stops all the major services, stops internet/intranet connections. It is really very big issue. Did anyone faced this problem still. I am facing this after I added

[WiX-users] Texbox validation while typing

2009-06-08 Thread Lobo, Lionel
Hi All, I've built an installer which uses custom dialogs, one of which has a few text fields. Is there any way of validating input as a user types into a text box? (Similar to a text changed event handler) I've seen solutions that employ a checkbox to confirm the input, which then

Re: [WiX-users] Using a WixVariable to specify Product/@Version

2009-06-08 Thread Castro, Edwin G. Castro (Hillsboro)
I've created the following feature request: Allow Product/@Version to be Specified at Link-Time https://sourceforge.net/tracker/?func=detailaid=2803055group_id=105970atid=642717 Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291

[WiX-users] Uninstall Web application installer

2009-06-08 Thread sunil bisoyi
Hi Team, Web application installer uninstall functionality working fine, but it won't remove the website name on IIS. if any one resolve this issue please suggest me. -- Regards, Sunil Bisoyi -- Crystal Reports - New

Re: [WiX-users] Need Exit code list for Candle.exe and Light.exe

2009-06-08 Thread Rob Mensching
Candle and light don't currently work that way. They follow the MSBuild standard of pumping out errors/warnings as messages in the MSBuild specified syntax. I think there is a feature request to bubble up the errors to be consistently returned as exit codes. Prasoon Kumar Gupta wrote: Hi, I

Re: [WiX-users] Custom Action Temporary File

2009-06-08 Thread Rob Mensching
Or just use the standard SqlScript CustomAction for SQL Scripts. Richard wrote: In article 79be9c755a71dc4b86355bdf8cef08a75511733...@topaz.wavefront.local, Peter Sliepenbeek peter.sliepenb...@pallas-athena.com writes: Is there a way to avoid this installation? Wrap execution

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Rob Mensching
Why do you need a CustomAction? RemoveFiles is a standard action and will handle rollback for you. Curtis Jewell wrote: If the folder has files in it the MSI didn't put there, it won't get deleted unless you have a custom action delete the files first (or tell Windows Installer to do so)

Re: [WiX-users] Getting Not Valid Foreign Key Error on Fragment

2009-06-08 Thread Rob Mensching
Does a File with this Id exist somewhere? filCF703A9BAE43C19E5A2520BB35E21977 MacDiarmid, James D wrote: I'm getting the following error on the fragment below. Any ideas on how I can fix this? ICE03: Not a valid foreign key; Table: Registry, Column: Value, Key(s):

Re: [WiX-users] Uninstall Web application installer

2009-06-08 Thread Rob Mensching
Did you put the WebSite definition inside a Component and is the Component getting installed? A verbose log file will tell you much. sunil bisoyi wrote: Hi Team, Web application installer uninstall functionality working fine, but it won't remove the website name on IIS. if any one resolve

Re: [WiX-users] Imp- Problem with un-installation

2009-06-08 Thread Wilson, Phil
There's no reason for Windows to do this unless you are doing something with services that's causing this. Do you have anything in your ServiceControl entries? Any uninstall custom actions that might be doing this? Phil Wilson -Original Message- From: rahul.ekb...@sungard.com

Re: [WiX-users] Imp- Problem with un-installation

2009-06-08 Thread Rob Mensching
Never heard of that happening. Not a lot of information here to go on though... rahul.ekb...@sungard.com wrote: Hi, I am facing very serious and wearied problem. When I am un-installing my product, my machine's TCP/IP protocol gets rest. It stops all the major services, stops

[WiX-users] Strange WixUI behavior - looping dialogs

2009-06-08 Thread Edward Kramer
Greetings ladies and gents, I've been toying with Wix, Wixedit and Votive for a while now. I managed to very easily fix my issue with Votive in about ten minutes, unfortunately this doesn't tell me why it was happening in the first place. Here's the situation. I've been using Wixedit and

[WiX-users] Ask user for many details?

2009-06-08 Thread Adam Schirmacher
Does WiX support the ability to have the setup ask the user for many various details or data about themselves or their computers? For example, I want to ask the user their Name, Country, Nickname, what type of car they drive, etc. I just want customizeable text-based inputs. Is this possible?

[WiX-users] Wix Service uninstall from Add Remove Programs

2009-06-08 Thread Anvoy Singh
Hello all, I have a problem creating an Installer that does multiple things like running SQL scripts, install services etc. For installing services i need to uninstall the previously installed Service by removing it from add remove programs menu, besides removing it from from Services.msc using:

Re: [WiX-users] Ask user for many details?

2009-06-08 Thread Rob Mensching
If the Windows Installer supports it, the WiX toolset does too. If the Windows Installer doesn't provide a native control, you can drop out to an external UI handler (but that is *a lot* of work). Adam Schirmacher wrote: Does WiX support the ability to have the setup ask the user for many

Re: [WiX-users] Wix Service uninstall from Add Remove Programs

2009-06-08 Thread Rob Mensching
1. How did you put the previous product in Add/Remove Programs. In the Windows Installer language, that's usually called an upgrade (in particular, a Major Upgrade). You can read about upgrades in the MSI SDK. 2. Yes, it is possible to have a chainer (what you call the wrapper below). An MSI

Re: [WiX-users] Wix Service uninstall from Add Remove Programs

2009-06-08 Thread Anvoy Singh
hi Rob, Earlier the service was installed using a regular MSI (not Wix). Now the requirement is that one MSI will uninstall/install 5- 6 of these previously installed (non Wix) services. We also have the option of using SCCM but was hoping to solve this problem in Wix. please let me know. thanks.

[WiX-users] MsiEnumComponentCosts

2009-06-08 Thread Tomasz Grobelny
I want to know how much will my installation take disk space. I call MsiEnumComponentCosts function with component set to empty string. It returns a number that we can assume is correct (though I haven't checked that). The problem is that when I change feature selection (by means of

Re: [WiX-users] Wix Service uninstall from Add Remove Programs

2009-06-08 Thread Wilson, Phil
An MSI install is an MSI install, whether it was built by WiX or something else. You can still do a major upgrade to remove the older products. Using the SCM to uninstall the services is just a bad idea. Uninstalling the services won't uninstall the owning product, so you're still going to see

[WiX-users] What is a Keypath and why is it important to me?

2009-06-08 Thread MacDiarmid, James D
I keep seeing talk about this Keypath but I'm not sure what it is. When should I set it to Yes? Thanks, Jim -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that

Re: [WiX-users] Wix Service uninstall from Add Remove Programs

2009-06-08 Thread Anvoy Singh
You can still do a major upgrade to remove the older products -- how do you do this in Wix? i mean what is the syntax? and this will remove entries from Add/Remove, right? On Mon, Jun 8, 2009 at 3:01 PM, Wilson, Phil phil.wil...@wonderware.comwrote: An MSI install is an MSI install, whether it

Re: [WiX-users] Codepage error

2009-06-08 Thread Christopher Karper
Here's the entirety of the output... d:\tfs\Simplify Suite\Dev\Simplify Visibility\Visibility Repository\Repository Installer Module\Repository Installer.wxs(13,0): error LGHT0311: A string was provided which doesn't match the specified database codepage '1252'. Either set your database codepage

Re: [WiX-users] Ask user for many details?

2009-06-08 Thread Adam Schirmacher
Okay, so *how* then can I ask the user for many details? WiX is my first experience using windows installer. *** This e-mail and any attachments may contain information which is confidential, privileged, proprietary or

Re: [WiX-users] Ask user for many details?

2009-06-08 Thread Phil Sayers
Do you really want an installer? Or are you looking for a wizard ui to gather data points? -Original Message- From: Adam Schirmacher [mailto:adam.schirmac...@electrolux.com] Sent: Monday, June 08, 2009 3:44 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Ask user for

Re: [WiX-users] Ask user for many details?

2009-06-08 Thread Phil Sayers
This should get you moving in the right direction. Labels, data entry boxes...etc. http://www.tramontana.co.hu/wix/lesson2.php#2.5 -Original Message- From: Adam Schirmacher [mailto:adam.schirmac...@electrolux.com] Sent: Monday, June 08, 2009 3:44 PM To: wix-users@lists.sourceforge.net

[WiX-users] Id and Guid Questions

2009-06-08 Thread Christopher Painter
When I use heat, it generates dir/comp/file ID's such as cmp dir fil If I omit the File/@Id attribute I get a different transformation pattern autogenerated. Is there a way to make it make the autogenerated flavor be like the way heat does it?

Re: [WiX-users] What is a Keypath and why is it important to me?

2009-06-08 Thread Brian Rogers
Hey James, Lots of information out there on this topic. Rob has a blog I believe as well. http://www.bing.com/search?q=windows+installer+keypath Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Mon, Jun 8, 2009 at 12:10 PM, MacDiarmid, James D

[WiX-users] Votive Support on Visual Studio 2010 Beta 1 is out!

2009-06-08 Thread Candy Chiang
I[1] am pleased to announce that the Votive support on Visual Studio 2010 Beta 1 has released in WiX3.5! You may download the latest bits from here: http://wix.sourceforge.net/releases/ The Visual Studio team has invested a lot of time to get Votive working with the new MSBuild object model

Re: [WiX-users] Id and Guid Questions

2009-06-08 Thread Brian Rogers
Hey Chris, Is there a way to make it make the autogenerated flavor be like the way heat does it? Short answer is no. The Ids in heat are done using a seed to keep them unique according to the output. Once moved into the Compiler/Linker level it would be a bit more tricky to get it 100% right to

Re: [WiX-users] What is a Keypath and why is it important to me?

2009-06-08 Thread MacDiarmid, James D
Thanks Brian. I just read a few pieces of info on this. They mention that no two components may have the same keypath. I'm still pretty confused on when we set this to yes. For instances, in my install I have a folder named binaries which about a half a dozen critial/vital DLLs, an OCX, and an

Re: [WiX-users] Id and Guid Questions

2009-06-08 Thread Christopher Painter
Rats on the Ids. The way heat rolls seems to be a pretty good answer to the problems I've seen. Thanks for pointing out Directory/@ComponentGuidGenerationSeed. This seems to do the trick for me. --- On Mon, 6/8/09, Brian Rogers rogers.br...@gmail.com wrote: From: Brian Rogers

Re: [WiX-users] What is a Keypath and why is it important to me?

2009-06-08 Thread Wilson, Phil
Safest default for files is to just set keypath to yes and have one file per component. Sometimes it's required. For example, the ServiceInstall table in an MSI file doesn't name a service - it names a component, and the keypath of that component is expected to be the service executable. The

Re: [WiX-users] How to set permissions on a directory

2009-06-08 Thread Lucius Fleuchaus
Resending due to no response From: Lucius Fleuchaus Sent: Friday, June 05, 2009 10:37 AM To: 'wix-users@lists.sourceforge.net' Subject: How to set permissions on a directory Hello, I am seeking help for the following scenario: I have a shared WIX file describing the directory layout. This WIX

[WiX-users] Shared Dlls

2009-06-08 Thread Scott Anderson
I'm using WiX version 3 and have an installation program that installs an executable, three shortcuts and some shared dlls. These dlls are used by another program that was not installed via Windows Installer. In my wix package I have these dlls along with their appropriate registry, classid, and

[WiX-users] Why do we have to use different product codes for different architecture package?

2009-06-08 Thread DONG LEE
By browsing through the wix newsgroup, I've seen in multiple occasions that people say it is recommended to use different ProductCode GUIDs for packages targeted for different architectures, and even the UpdadeCode. What is the reason for that? I am building x86 and x64 packages with the same wix

Re: [WiX-users] How to set permissions on a directory

2009-06-08 Thread Rob Mensching
resending response since in case it didn't get through the first time Your Directory tree is *not* created until you have a Component that gets installed in there somewhere. In the Component you can have a CreateFolder. And then you arrive at your destination. Bing http://www.bing.com, you are

Re: [WiX-users] Why do we have to use different product codes for different architecture package?

2009-06-08 Thread Rob Mensching
I thought the MSI SDK has pretty clear guidelines about when the ProductCode and UpgradeCode should change. DONG LEE wrote: By browsing through the wix newsgroup, I've seen in multiple occasions that people say it is recommended to use different ProductCode GUIDs for packages targeted for

[WiX-users] Can I create Setup.exe in WiX3?

2009-06-08 Thread karthik.shenoy
Hi All, I have been using InstallShield all these days. Recently we started using WiX3 installers. I haven't found an option to create Setup.exe in WiX as in Installshield. Could you please help me. Karthik --- Robosoft Technologies -

Re: [WiX-users] Can I create Setup.exe in WiX3?

2009-06-08 Thread Sascha Beaumont
WiX simply deals with creating an MSI. What you're after is generally termed a bootstrapper. This is coming in WiX 3.5 (I think?) under the tool named burn. In the meantime, you've got a number of choices.. there's a bootstrapper included with Visual Studio (check the docs). If you're after a

[WiX-users] heat / SourceDir

2009-06-08 Thread Sascha Beaumont
Hi, I recall in a recent thread that heat generated .wxs files will search for files with the path SourceDir\... in folders specified with the -b switch to light, but can't find anything in the documentation about this feature/ Currently I'm just doing a search/replace and replacing SourceDir\

[WiX-users] Candle Generates Duplicate Primary Keys for Registry Table

2009-06-08 Thread Castro, Edwin G. Castro (Hillsboro)
I used heat.exe to generate a *.wxs file with content similar to the following: ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment ComponentGroup Id=CompGroup ComponentRef Id=cmpBFB88FD66E534758BE01AC0742FDB4E0/ /ComponentGroup

Re: [WiX-users] heat / SourceDir

2009-06-08 Thread Castro, Edwin G. Castro (Hillsboro)
Take a look at the -var option for heat.exe. If you give it '-var var.xyz' then it will do the search/replace for you. I don't think there are any problems with using the feature but I could be wrong. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office:

[WiX-users] During Uninstall of Web application installer Website name is not Remove on iis

2009-06-08 Thread sunil bisoyi
Hi Team, I am using latest Release Wix 3.0 . During Uninstall of Web application installer Website name is not Remove on IIS. I tried to save the Website name to store environment variable , during installing I am able to save this value but I cannot able to get the during uninstalling.

Re: [WiX-users] heat / SourceDir

2009-06-08 Thread Sascha Beaumont
That's kinda what I'm already doing (but with a .wxi instead) ... ?define XYZSrc=..\..\blah\src ? ... ... File Id=xyz KeyPath=yes Source=$(var.XYZSrc)\myapp.exe / ... compared to: light.exe -b ..\..\blah\src ... File Id=xyz KeyPath=yes Source=SourceDir\myapp.exe / ... Specifically I'm

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Curtis Jewell
I should have specified that I was assuming that there was no way to know what the additional files were named or where they were located - which would be logical for logging directories. I was told (I think by you) that to do that, it required a CA to tell Windows Installer what additional files

Re: [WiX-users] heat / SourceDir

2009-06-08 Thread Castro, Edwin G. Castro (Hillsboro)
What I meant is if you do something like this: heat.exe dir path\todir -var var.SourceDir -out file.wxs then you can specify SourceDir at compile time via a preprocessor variable: candle -dSourceDir=path\todir ... I set the preprocessor variables in the project's *.wixproj file. The benefit I

Re: [WiX-users] heat / SourceDir

2009-06-08 Thread Rob Mensching
You can specify as many -b switches as you like. They are searched in order specified. The parameter to -b essentially replaces SourceDir in the path allowing you to find your files on any number of paths. Personally, I find -b to be much easier to use than $(var.) because the search paths are

Re: [WiX-users] Uninstall Web application installer

2009-06-08 Thread Rob Mensching
Ahh, I expect you are not remembering the Properties there so on uninstall the WEBSITEPORT and others are not defined so uninstall is not finding the WebSite to uninstall. Search the archives of wix-users. This has been discussed several times before. sunil bisoyi wrote: i am puting the

Re: [WiX-users] Candle Generates Duplicate Primary Keys for Registry Table

2009-06-08 Thread Rob Mensching
Yes, it is a known bug. Heat doesn't correctly handle the version independent ProgIds. Read the WiX.chm about ProgId and you'll see the fix necessary (nest the ProgIds correctly). Castro, Edwin G. Castro (Hillsboro) wrote: I used heat.exe to generate a *.wxs file with content similar to the

Re: [WiX-users] Help Required in Removing the Folder during uninstallation

2009-06-08 Thread Rob Mensching
I'm a little confused by this requirement. Are you saying you won't know where the files you want to delete exist? How is a CustomAction going to know any better? Curtis Jewell wrote: I should have specified that I was assuming that there was no way to know what the additional files were