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

2009-05-19 Thread stephan o'farrill
Thanks, Rob, yes, referring to the Module Guid works! Thanks, Stephan. On Wed, May 20, 2009 at 2:18 AM, Rob Mensching wrote: > 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 c

[WiX-users] Get progressbar current total ticks from CA?

2009-05-19 Thread Glenn Sandoval
I have a custom action written with DTF that increases the total ticks of my progressbar by a fixed amount. What I would like to do is increase the total ticks by a percentage, so that the last ~25% of my progressbar is reserved for my CA to fill. Is there a way to get the current total ticks of t

[WiX-users] I want some help on multiple feature implementation.

2009-05-19 Thread MYFLEX
Hi, I want some help on feature and its levels. how windows installer handles the multiple features. And what is install level and feature state? I am bit confused with these. Please give some links where i can clarify my doubts. -- View this message in context: http://n2.nabble.com/I-want

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

2009-05-19 Thread Rahul.Ekbote
Hey Neil, Brian, It works thanks for your help. Regards, Rahul. -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Tuesday, May 19, 2009 7:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Some general questions about Wix R

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 > 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 at least get

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 s

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. -- sig://boB http://joyofsetup.com/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check ou

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. >

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

2009-05-19 Thread Bob Arnson
Scott Button wrote: > > obj\Release\ > > $(DefineConstants);Configuration=Release;Release= nstants> > Configuration is already set (since it's used in a condition) so you're trying to set it again, which is illegal. Just omit it from your DefineConstants property. -- sig://boB http

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] 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] 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] 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 To:

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: > > > > Guid="E14CE907-864C-4362-9B40-7FE3B2A3446A"> > Directory="HOMESITE" WebSite="HomeWebSite"> >

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] 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] 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 > confi

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] 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 v

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. > > -- >

[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: cand

[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 localiz

[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 thi

[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: It works fine on our test and demo environment machines; however fails to create the virtual directory on

[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 e

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

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 http://msdn.microsoft.com/en-us/library/aa372401(VS.85).aspx

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 the

Re: [WiX-users] Registry Settings Not Created

2009-05-19 Thread Jacques Eloff
Hi Tina Not sure, but shouldn't the elements have a parent to create the key? So you would have something like I think that RegistryValue only sets the value of an existing key, it won't create the key if it does not already exist. Jacques On Tue, May 19, 2009 at 7:04 AM, Tina Basinger w

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 element references inside a which you can then reference under a using . Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.l

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] 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 ha

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=105970&atid=642714 ? Yes. -

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(L"CreateFolder", pwzTable)) { ea.grfInheritance = SUB_CONTAINERS_AND_OBJECTS_INHERIT; } else { ea.grfInheritance = NO_INHERITANCE; } As you can see, it applies inheritance fo

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 FirewallExcepti

[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 . Thing happening is that it is providing the permissions to the EventLog for Network service but it

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

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

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 insta

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 w

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

2009-05-19 Thread Bob Arnson
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 at least get a better error message. Mostly, it boils down to changes in MSBuild between releases of the .NET Framewo

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 ht

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] 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://

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 sc

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. > Ple

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: Light is throwing the error about the codepage. I suspect the problem is with the selecting 1033 (US English) in Product/@Language attribute. Is there a way to create Unicode

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 wrote: > 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 installe

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 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 an

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 the

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 To

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 for each file so do we need to add all these ComponentRef in tag in main project? Or it creates some component group? Thanks, Rhaul. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesd

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

[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 checkin

[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: --

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 CO

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

2009-05-19 Thread Rahul.Ekbote
Hi, I am using Mallow.exe to just copy all the files (.txt, .exe,.dll etc). I think heat is only for registering the .dll files. Please correct me if I am wrong. Thanks, Rahul -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, May 19, 2009 2:05 PM To: Ge

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 t

[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

[WiX-users] MergeGroup / MergeGroupRef

2009-05-19 Thread zett42
I noticed that it is currently not possible to reference a group of merge modules (e. g. VC++ runtimes) which are defined in another file, other than grouping the merge modules in a feature. Than we can use to reference the merge modules. So would it make sense to add new elements "MergeGroup" a

Re: [WiX-users] Files in use

2009-05-19 Thread Neil Sleightholm
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. If you have more than one service or have a separate start and stop and stop is not first it doesn't detect that the service will

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 abo

[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 properties

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 sepa

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 > 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 had the same