Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Neil Sleightholm
1. Which version of WiX, mallow is v2, heat is v3. 1a. Yes, this should generate all the registration info for you. 1b. Definitely not. 1c. There are issues with this so I would avoid it but better that 1b! 2. Yes as many as you like. Hope this helps. Neil -Original Message- From:

Re: [WiX-users] The ResolveNonMSBuildProjectOutput task was not found

2009-05-19 Thread David Gardiner
Adding the ToolsVersion attribute fixed the problem for me. thanks, -dave 2009/5/18 gree...@cox.net If you want to build the project, manually go in and set the ToolsVersion attribute to 3.5 of the Project tag in the votive project (.wixproj) file. This task is in MSBuild 3.5, not 2.0. I

Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Rahul.Ekbote
Hi, I used heat3.0 (a) option to create the .wxs file with registry entries. However I am using Mallow.exe 3.0 to copy the files into TargetDir. Now the same .dll file entry is there in both files (one for copy and other for register) now how can I club this in one project. Do I need to create

[WiX-users] getting disk cost details

2009-05-19 Thread Mark Sinnathamby
Hi, I have a custom dialog during installation where I have to show the disk cost and remaining space on a selected drive where the application is going to be installed. I want to use two properties to use as the text for two labels on this screen. How do I get the values into the two

Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Neil Sleightholm
You should be able to everything you need with Heat, I am not sure why you need Mallow. Neil -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: 19 May 2009 08:58 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Some general questions

[WiX-users] Problems with Heat and COM (and subsequently Candle and Light)

2009-05-19 Thread Ondrej Zarevucky
Hi everybody, Thank the Wix developers for such great tool for making installations! I've been using Wix for a few weeks and I love it, but I'm having a few issues with the Heat tool generating wrong WXS files with COM objects. I'm sorry if it was reported before, but I couldn't find any search

Re: [WiX-users] getting disk cost details

2009-05-19 Thread zett42
For getting the disk-space per drive you would have to use MsiEnumComponentCosts(). You would write an immediate-mode custom action to call this function and then MsiSetProperty() to set your properties. Mark Sinnathamby wrote: Hi, I have a custom dialog during installation where I have to

Re: [WiX-users] Problems with Heat and COM (and subsequently Candle and Light)

2009-05-19 Thread Neil Sleightholm
Could you confirm what version of WiX would are using, I think 2 may have been fixed in v3.0.5315.0. Neil -Original Message- From: Ondrej Zarevucky [mailto:ondrej.zarevu...@fine.cz] Sent: 19 May 2009 10:25 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problems with Heat and

[WiX-users] request to solve the error:Space requiremnt

2009-05-19 Thread Tadipathri Deepthi,HCL-Industry Solutions
HI, While I am installing my msi.. It's throwing an error: Please wait while installer finishes determining your disk space requirements How to get rid of this? Thanks Deepthi DISCLAIMER:

[WiX-users] Firewall Exception Question

2009-05-19 Thread Romeo S.
Hi, I'm trying to use FirewallException extension, it all works on XP SP2 without problem. I just wondered if it is possible to change the condition of WixSchedFirewallExceptionInstall and WixSchedFirewallExceptionUninstall CA so that it will still add exception on Windows 2003 SP1? Upon

Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Neil Sleightholm
Heat can generate all the WiX source for you. Neil -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: 19 May 2009 10:14 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Some general questions about Wix Hi, I am using Mallow.exe to just

Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Rahul.Ekbote
Hi, Thanks. Ya it takes all the files. However it is creating separate component for each file so do we need to add all these ComponentRef in Feature tag in main project? Or it creates some component group? Thanks, Rhaul. -Original Message- From: Neil Sleightholm

Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Neil Sleightholm
A separate component for every file is the recommended approach. It also creates a component group so all you need to include in your main project is the ComponentGroupRef. Neil -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: 19 May 2009 11:29

Re: [WiX-users] Problems with Heat and COM (and subsequently Candleand Light)

2009-05-19 Thread Ondrej Zarevucky
Thank you for your reply. I was using RC2, but when I ran into problems I've downloaded the wix3-binaries.zip from http://wix.sourceforge.net/releases/3.0.5315.0/ and tried to use them. It didn't help :( But I still have RC2 installed in Program Files... I hope this is not a problem. 3) For

Re: [WiX-users] Problems with Heat and COM (and subsequently Candleand Light)

2009-05-19 Thread Neil Sleightholm
I would suggest raising a bug for each of these with a sample file if you can. Neil -Original Message- From: Ondrej Zarevucky [mailto:ondrej.zarevu...@fine.cz] Sent: 19 May 2009 12:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problems with Heat

Re: [WiX-users] Speeding up the light

2009-05-19 Thread Riyaz Mogharabin
Dear Rob, Thanks for the reply. I have no idea which part is slow. I tried to run it with verbose switched on, but I got no answer. I think I may not get your idea correctly about switching on the verbose. How should I do that? I'm using WiX 3.0.4805.0 toolset. I have read in the archive that

Re: [WiX-users] Problems with Heat and COM (and subsequently Candleand Light)

2009-05-19 Thread Simon Dahlbacka
On Tue, May 19, 2009 at 2:01 PM, Ondrej Zarevucky ondrej.zarevu...@fine.czwrote: Thank you for your reply. I was using RC2, but when I ran into problems I've downloaded the wix3-binaries.zip from http://wix.sourceforge.net/releases/3.0.5315.0/ and tried to use them. It didn't help :( But I

Re: [WiX-users] Problems with Heat and COM (and subsequentlyCandleand Light)

2009-05-19 Thread Ondrej Zarevucky
Candle processes all the .wxs files without problem and even the resulting .wixobj files contain the utf-8 xml header: ?xml version=1.0 encoding=utf-8? Light is throwing the error about the codepage. I suspect the problem is with the selecting 1033 (US English) in Product/@Language attribute.

Re: [WiX-users] The ResolveNonMSBuildProjectOutput task was notfound

2009-05-19 Thread Bob Arnson
Adam Langley wrote: Setting the ToolsVersion fixes the first issue, but leaves me with a bunch of ICE errors, which I've never had before light.exe(0,0): error LGHT0217: Error executing ICE action 'ICE08'. The most common cause of this kind of ICE failure is an incorrectly registered

Re: [WiX-users] Speeding up the light

2009-05-19 Thread Bob Arnson
Riyaz Mogharabin wrote: I have no idea which part is slow. I tried to run it with verbose switched on, but I got no answer. I think I may not get your idea correctly about switching on the verbose. How should I do that? What did you try? I'm using WiX 3.0.4805.0 toolset. Please

Re: [WiX-users] Reference Paths do not update Reference Hintpath - ID: 2767279

2009-05-19 Thread Bob Arnson
Murray Hipper wrote: I was wondering how do I re-open a bug in source forge tracker as it has reached 21 days of inactivity. I only just tested it as I was unsure what release the fix would be in and can confirm that it has not been fixed. I opened it back up for comments. -- sig://boB

Re: [WiX-users] Files in use

2009-05-19 Thread Bob Arnson
Neil Sleightholm wrote: I have been doing some more research on this and have found that restart manager only reads the first entry in the ServiceControl table and this must be a service stop. Are you using MSI 4.5 on Vista? There were some Restart Manager integration bugs fixed in 4.5. --

Re: [WiX-users] WiX Patching

2009-05-19 Thread Bob Arnson
troy hostetter wrote: I am attempting to patch an existing web.config file with new web.config settings. When I execute msiexec and pass in the msp file, the util:XmlConfig patches are not being applied. Verbose logging will show the action state of every component. -- sig://boB

Re: [WiX-users] Is there a way to programatically check a checkbox?

2009-05-19 Thread Bob Arnson
David Bartmess wrote: How do I clear the property? I tried setting it via a Property custom action to But that doesn't clear the checkbxo. This is documented in the MSI SDK: Event An identifier that specifies the type of event that should take place when the user interacts with

Re: [WiX-users] Changing custom action from immediate to deferred causes Failure

2009-05-19 Thread Bob Arnson
achandrapano wrote: I changed a custom action from immediate to deferred and now the log shows theres a return value of 3 from InstallFinalize. However, no other errors before this. How can I debug this or what would cause this?? I am certain the CA is in between installinitialize and

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-19 Thread Bob Arnson
zett42 wrote: So would it make sense to add new elements MergeGroup and MergeGroupRef Sure, feel free to file a feature request. -- sig://boB http://joyofsetup.com/ -- Crystal Reports - New Free Runtime and 30

Re: [WiX-users] Firewall Exception Question

2009-05-19 Thread Bob Arnson
Romeo S. wrote: I'm trying to use FirewallException extension, it all works on XP SP2 without problem. I just wondered if it is possible to change the condition of WixSchedFirewallExceptionInstall and WixSchedFirewallExceptionUninstall CA so that it will still add exception on Windows 2003

[WiX-users] Registry Permissions

2009-05-19 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
Hi, My requirement is to provide Full Control to the Registry Node and its Child Nodes Ex : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\ I was able to attack this using the util:PermissionEx .../. Thing happening is that it is providing the permissions to the EventLog for

Re: [WiX-users] Firewall Exception Question

2009-05-19 Thread Romeo S.
Thank you very much Bob. That works, I just misspelled the CA before, I thought that I can't override the condition. I will file a bug later, it seems there's a problem with the BugDatabase right now. Regards, Romeo Bob Arnson-6 wrote: Romeo S. wrote: I'm trying to use FirewallException

Re: [WiX-users] Registry Permissions

2009-05-19 Thread Yan Sklyarenko
It is hard coded. If you look at the code of ExecSecureObjects method, you'll see the following: if (0 == lstrcmpW(LCreateFolder, pwzTable)) { ea.grfInheritance = SUB_CONTAINERS_AND_OBJECTS_INHERIT; } else { ea.grfInheritance = NO_INHERITANCE; } As you can see, it applies inheritance for

Re: [WiX-users] Problems with Heat and COM (and subsequentlyCandleand Light)

2009-05-19 Thread Neil Sleightholm
I can provide the source WXS files, but I'm not able to provide the DLL files with the COM objects :( Is this ok? As with all bug reports the more information the better. Should I use the SourceForge bug tracker at: http://sourceforge.net/tracker/?group_id=105970atid=642714 ? Yes.

Re: [WiX-users] Files in use

2009-05-19 Thread Neil Sleightholm
Yes, 4.5 on Vista and 5.0 on Windows 7 both show the same problem. Neil -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 19 May 2009 13:20 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Neil Sleightholm wrote: I

Re: [WiX-users] Problems with Heat and COM (and subsequentlyCandleand Light)

2009-05-19 Thread Brian Rogers
Ondrej, Please submit the bugs you mentioned above so that they can be addressed in the future. The more detail the better if you are not able to submit the .dll. I am sure Rob will triage them but I am not sure that they will meet the bar to fix in this version. From what you have listed above

Re: [WiX-users] Some general questions about Wix

2009-05-19 Thread Brian Rogers
Rahul, Yes, as Neil mentioned look into the -cg command line switch where you can set a static component group. This will nest all your Component/ element references inside a ComponentGroup/ which you can then reference under a Feature/ using ComponentGroupRef/@Id/. Thanks, Brian Rogers

Re: [WiX-users] Reference Paths do not update Reference Hintpath - ID: 2767279

2009-05-19 Thread Eric St . John
Hi Murray, The fix for this bug was to change the order that ReferencePaths is used when locating an extension. You should see that RefrencePaths in the .USER file will override the value of HintPath, but Votive will not actually change the value of the hintpath in the .wixproj. Note that

Re: [WiX-users] UAC prompt on feature modification after installation

2009-05-19 Thread Eric St . John
Can you do partial validation in the UI sequence then delegate the rest to a deferred CA? Deffered CAs will run as SYSTEM if Impersonate=no. MSDN has an example that demonstrates how to pass credentials to a deferred CA. Please see

Re: [WiX-users] WiX and Windows 7

2009-05-19 Thread Michael Spurlock
Anthony Bouch-2 wrote: the 'plain white' page icons (without the icon art from the .ico file). That is until another program installer was run (a commercial installer from another product altogether). Then suddenly the shortcut icons from my installer appeared correctly - no longer the

[WiX-users] Sql Express 2005 SP2 prerequisite fails to install with error endpoint format is invalid

2009-05-19 Thread Vuchuru, Surekha (SBT US EXT)
Hello All, I have created a small setup project that installs SQL Express 2005 SP2 as one of the prerequisites. After creating this setup project, I tried to install all these prerequisites as part of the setup program on a test machine. While Sql Express 2005 SP2 is being installed, I got the

[WiX-users] virtual directory script doesn't work on certain boxes

2009-05-19 Thread Baljot Kaur
Hi All, We use the following script to create the virtual directory: !-- Directory structure -- Directory Id=CAPDIR Name=SourceDir !-- Install as Virtual Directory -- Component Id=WebSiteComponent Guid=E14CE907-864C-4362-9B40-7FE3B2A3446A

[WiX-users] UI FileSearch - How to have this reevaluate

2009-05-19 Thread achandrapano
I have a filesearch action that checks for existence of a file and stores this in a property. During the UI sequence, I have a dialog that pops up if this file doesn't exist (it just checks the value of the property that was set during the filesearch). However, if a user were to manually make

[WiX-users] Accessing wxl file strings from c# custom actions.

2009-05-19 Thread Sachin Dubey (Tata Consultancy Services)
Hi, I am curious if it is possible to access localized string text present in .wxl file within C# custom actions? I am suing DTF to access properties, and want to access localized text to configure error messages. Is there any other way for this or should I have resource file containing

[WiX-users] The variable 'Configuration' with value'Release' was previously declared with value 'Release'

2009-05-19 Thread Scott Button
Jeremy Farrell wrote: Please show all uses of the token 'Configuration' in the .wxs file which candle is complaining about. Scott now: To summarize earlier exchanges: I'm now using Wix 3.0.5315.(15 May 2009) I was previously using WIX 3.0.3829 without error. I now get the error:

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-19 Thread Rob Mensching
Doesn't FeatureGroup/FeatureGroupRef do what you want? It also allows Features, but that should be okay, right? Bob Arnson wrote: zett42 wrote: So would it make sense to add new elements MergeGroup and MergeGroupRef Sure, feel free to file a feature request. -- sig://boB

Re: [WiX-users] Select Target Path outside Merge Module

2009-05-19 Thread Rob Mensching
I assume you mean setting the Module Id through the Package/@Id attribute *does* work, right? stephan o'farrill wrote: Thanks Rob, I just needed to be convinced again to keep trying (after I thought I was through all possible combinations): Now I replaced - with _ in the GUIDs and viola!

Re: [WiX-users] WiX Patching

2009-05-19 Thread Rob Mensching
Verbose log file should show you what Components are being changed. My bet is that your 10 unchanged Components KeyPaths are not being updated. troy hostetter wrote: I am attempting to patch an existing web.config file with new web.config settings. When I execute msiexec and pass in the msp

Re: [WiX-users] Accessing wxl file strings from c# custom actions.

2009-05-19 Thread Rob Mensching
Use the Error table and it all just works. Sachin Dubey (Tata Consultancy Services) wrote: Hi, I am curious if it is possible to access localized string text present in .wxl file within C# custom actions? I am suing DTF to access properties, and want to access localized text to configure

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-19 Thread Rob Mensching
Hmm, sounds like Wise broke the Merge Module spec. The correct way to refer to the directory in the Merge Module is with the .G_U_I_D appended. jnewton wrote: I used to have some MSMs created by Wise that had an entry in the directory tree of INSTALLDIR. This entry didn't have modularization

Re: [WiX-users] Installing fonts

2009-05-19 Thread Rob Mensching
Appears to be a bug in the ICE. The FontsFolder is supposed to be modularlized and a CA is added to set it to the correct value during run time. It's a goofy implementation, IMHO, but that is the design the MSI team went with. Looks like they forgot that when writing ICE07. Kim Gybels wrote:

Re: [WiX-users] virtual directory script doesn't work on certain boxes

2009-05-19 Thread Rob Mensching
A verbose log file will tell you much. Baljot Kaur wrote: Hi All, We use the following script to create the virtual directory: !-- Directory structure -- Directory Id=CAPDIR Name=SourceDir !-- Install as Virtual Directory -- Component

Re: [WiX-users] Accessing wxl file strings from c# custom actions.

2009-05-19 Thread Sachin Dubey (Tata Consultancy Services)
Thanks Rob, I am able to read the Error table, however it doesn't have the error messages I am seeking. Is there any easy way of adding custom errors to error table? Thanks Sachin -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Tuesday, May 19, 2009 5:12 PM

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-19 Thread jnewton
Yeah, you actually get ICE errors on that MSM. However, I am stuck now not knowing how I can reference the INSTALLDIR propery in my MSM. What is the proper way I should go about doing this? INSTALLDIR ends up being mapped to a location where I install various executables. My MSM installs various

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-19 Thread Bob Arnson
jnewton wrote: Yeah, you actually get ICE errors on that MSM. However, I am stuck now not knowing how I can reference the INSTALLDIR propery in my MSM. What is the proper way I should go about doing this? INSTALLDIR ends up being mapped to a location where I install various executables. My

Re: [WiX-users] Sql Express 2005 SP2 prerequisite fails to install with error endpoint format is invalid

2009-05-19 Thread Bob Arnson
Vuchuru, Surekha (SBT US EXT) wrote: I have created a small setup project that installs SQL Express 2005 SP2 as one of the prerequisites. You should check with whoever provided the bootstrapper you're using; WiX's bootstrapper is still in development. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] The variable 'Configuration' with value'Release' was previously declared with value 'Release'

2009-05-19 Thread Bob Arnson
Scott Button wrote: PropertyGroup Condition= '$(Configuration)' == 'Release' IntermediateOutputPathobj\Release\/IntermediateOutputPath DefineConstants$(DefineConstants);Configuration=Release;Release=/DefineCo nstants Configuration is already set (since it's used in a condition)

Re: [WiX-users] Problems with Heat and COM (and subsequently Candleand Light)

2009-05-19 Thread Bob Arnson
Ondrej Zarevucky wrote: I was using RC2, but when I ran into problems I've downloaded the wix3-binaries.zip from http://wix.sourceforge.net/releases/3.0.5315.0/ and tried to use them. It didn't help :( But I still have RC2 installed in Program Files... I hope this is not a problem. It

Re: [WiX-users] Files in use

2009-05-19 Thread Bob Arnson
Neil Sleightholm wrote: Yes, 4.5 on Vista and 5.0 on Windows 7 both show the same problem. Sorry, worth a shot.g -- sig://boB http://joyofsetup.com/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check

Re: [WiX-users] Using INSTALLDIR in MSM That Eventually Reflects the MSIs INSTALLDIR

2009-05-19 Thread jnewton
Hi Bob, The problem is that the exe that I am referencing is actually in the MSI that I am merging into. Basically the MSM just contains a bunch of static registry entries (i.e. basically just adding the registry keys for the exe's type library information). If I just [#blah.exe] in the MSM, it

Re: [WiX-users] The ResolveNonMSBuildProjectOutput task was not found

2009-05-19 Thread David Gardiner
Although in my case, our solution doesn't have any C++ projects - just C# 2009/5/19 Bob Arnson b...@joyofsetup.com David Gardiner wrote: Adding the ToolsVersion attribute fixed the problem for me. And it's definitely required if you want to use VC9 .vcproj files. But I'll fix it so you