Re: [WiX-users] ICE Validation and MSI failure 2738

2010-09-16 Thread Anthony Wieser
Further to my original post: I've also tried running in an admin account on Vista, which didn't help. I can run .vbs scripts by double clicking them. The problem also shows up if I load an MSI in orca, and try to run ICE08. I also tried while running ProcessMonitor from sysinternals, but didn't

[WiX-users] Warning 21 File in Component was changed, but the KeyPath file was not

2010-09-16 Thread Oleksandr Y. Nechyporenko
Thanks Yan, We have more than 500 files in installer, and most of them can be changed separately, I don't think that it to create new component for every file. Overall my main question, if I use Registry Entry as KeyPath like What part of this RegistryValue I should change in next build to

Re: [WiX-users] Warning 21 File in Component was changed, but the KeyPath file was not

2010-09-16 Thread Yan Sklyarenko
That's an interesting question. I would expect it to be a "Value" part, but I'm not sure... You can try it out. As for the many files in your distribution, have you investigated the heat.exe tool? It can create the entire authoring for you automatically. We have 20 000+ files to be installed, and

Re: [WiX-users] How to refer WIX properties within .wxs files

2010-09-16 Thread Michael_A
I don't think you can use a property in that attribute. The Attribute "name" is defined as a LongFileNameType. Which is described as follows: Values of this type will look like: "Long File Name.extension". Legal long names contain no more than 260 characters and must contain at least one non-peri

Re: [WiX-users] Warning 21 File in Component was changed, but the KeyPath file was not

2010-09-16 Thread Oleksandr Y. Nechyporenko
Yan, I've also have assumed that should be Value attribute. I have set it to $(var.ProductVersion) to be changed on every new build. But this does not work and I receive the warning 21. Also I've tried to set $(var.ProductVersion) to Name attribute of RegistryValue element, end even use it as par

Re: [WiX-users] ComboBox question

2010-09-16 Thread Michael_A
Ok... But how do I get at the associated value? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComboBox-question-tp5534796p5538505.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] How to refer WIX properties within .wxs files

2010-09-16 Thread Nick Ramirez
I think you're on the right track. The Name attribute on the Directory element can't use the [PROPERTY_NAME] notation because it isn't a "formatted string" field. Examples of attributes that are include the Text attribute on the Control element, the Title on Dialog, and Message on Condition. If y

Re: [WiX-users] How to refer WIX properties within .wxs files

2010-09-16 Thread Nick Ramirez
Oops. Replace Value="[VirtualDirectoriesdir]INSTALL_SHAREPOINT_PORT" with Value="[VirtualDirectoriesdir][INSTALL_SHAREPOINT_PORT]" -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-refer-WIX-properties-within-wxs-files-tp5537053p5538585.htm

Re: [WiX-users] ICE Validation and MSI failure 2738

2010-09-16 Thread Wilson, Phil
2738 is a VBScript runtime engine issue. The interwebs seem to indicate that registering VBScript.dll could fix this. Phil Wilson -Original Message- From: Anthony Wieser [mailto:wix-l...@wieser-software.com] Sent: Thursday, September 16, 2010 12:18 AM To: General discussion for Window

Re: [WiX-users] FeatureSelection Dialog

2010-09-16 Thread Nick Ramirez
I'm not sure why, but this seems to work for me: ... The conditions that check the action state is simpler in my example, but you get the idea. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Fe

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-16 Thread Wilson, Phil
Without knowing exactly why you think there are "problems with writing back properties to the MSI" I can't really comment too much. What requirement do you think this addresses? I have used an external UI a lot, your 2, and it works fine. Typically you want to show splash screens, a dialog to ac

Re: [WiX-users] ICE Validation and MSI failure 2738

2010-09-16 Thread Christopher Painter
Try disabling UAC also.  We had a problem like this on our build machine and I couldn't launch ORCA and run validation as a limited user. Chris   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail

[WiX-users] How to conditionally check/uncheck a checkbox

2010-09-16 Thread gapearce
I have a dialog with two check boxes. CB1 and CB2. If CB1 is checked, I'd like to set CB2 to checked, too. And conversely, I'd like to uncheck CB2 if CB1 is unchecked. There must be a way...How can I do this? Thanks -- View this message in context: http://windows-installer-xml-wix-toolse

Re: [WiX-users] How to conditionally check/uncheck a checkbox

2010-09-16 Thread Nick Ramirez
Have you tried the CheckBoxPropertyRef attribute? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-check-uncheck-a-checkbox-tp5539262p5539328.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] OpenFileDialog fails in Win7

2010-09-16 Thread Nick Ramirez
WiX does offer up a browse dialog control called DirectoryList. It's often paired up with a PathEdit control to display the path you've selected, a button to navigate up one directory (PushButton control that publishes the DirectoryListUp event), a button to create a new folder (PushButton that pu

Re: [WiX-users] OpenFileDialog fails in Win7

2010-09-16 Thread Steve Green
Thanks for the reply Nick. I tried the BrowseDlg but it only goes down to directory level and doesn't allow you to select individual files. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/OpenFileDialog-fails-in-Win7-tp5538592p5539413.html Sent from

[WiX-users] How does patching decide which files to include in msp?

2010-09-16 Thread Travis Gaff
Hello WiX users, I am trying to construct a .msp file to patch a several hundred file installation. However I am finding that a large number of files are not ending up in the final .msp file. Right now I suspect many of these are due to both the new and the old version of the file having the sam

[WiX-users] Fonts not registering

2010-09-16 Thread Gareth
Hi WiX Users. I have a package made up of many smaller packages. Each of the smaller packages contains creative content and the required fonts for it to display correctly - this all works. However, the result of merging the smaler packages results in a few fonts being duplicated, but they have

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-16 Thread Pratapa Reddy Sanaga
Phil, I'm not able to understand how you are able to collect user input from external UI of an MSI and pass it as command line argument for the same MSI. The external UI wouldn't show up until the MSI starts executing, so once the MSI starts executing, the bootstrapper exe can't provide any more c

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-16 Thread Wilson, Phil
You don't collect external data during the callback - that's not what it's for. It makes no sense to use the external callback to set the list of features to install, as one example. I think you have some assumption about how this is working that I'm not aware of. In my case I have a .NET progra

Re: [WiX-users] Can msi external ui write to the MSI properties?

2010-09-16 Thread Pratapa Reddy Sanaga
Got it. My assumption was that I can use the UI in callback in place of customized UI in installUISequence for providing user choices to the msi. That seems to be a wrong assumption. Thanks for all the help! :) On Thu, Sep 16, 2010 at 10:32 AM, Wilson, Phil wrote: > You don't collect external da

Re: [WiX-users] not able to access unc locations in deffered custom actions

2010-09-16 Thread Sanjay Rao
By other part of installer I mean immediate custom actions. and if I do do not turn off impersonate, then custom action is not able to copy files into c:\BatonBackup on windows 2008 etc. On 15-09-2010 14:02, Wilson, Phil wrote: > What is the "other part of the installer"? If it's in the UI or o

Re: [WiX-users] ComboBox question

2010-09-16 Thread Michael_A
I'm sorry I must be missing something here. I have ready this post and the one at stack overflow and I still son't understand what your saying. I have a CA that populates a combobox with the instance of the SQL Servers found prior to displaying ANY UI. The ComboBox is defined as Afte

Re: [WiX-users] How to conditionally check/uncheck a checkbox

2010-09-16 Thread gapearce
No, I hadn't tried that... but I just did - and it sort of works, but it isn't what I actually needed. I now have two check boxes that set the same property (e.g. "MyCheckBoxResult"). I'd like CB2 to be checked initially only if CB1 is checked, and vise-versa. But I would like to allow the user

Re: [WiX-users] How to conditionally check/uncheck a checkbox

2010-09-16 Thread gapearce
Sorry for the ambiguity. I'm not asking the right question. Here's what I'd really like to do: On entry to this dialog, both CB1 and CB2 should be checked, so I set their individual properties to "1". The user can un-check CB2 and it should leave CB1 alone. If the user un-checks CB1, I'd

[WiX-users] Microsoft bootstrapper

2010-09-16 Thread Umeshj
Hi, I know that this group has discussed bootstrapper related questions a number of times but I cannot find a solution to the following problem. I think it would help others who may want to use the bootstrapper with the Wix project so I am posting here. I am trying to use the Microsoft boot

[WiX-users] The wixproj file and different configurations

2010-09-16 Thread Brendan CM
I have a small set of different projects I am building with WiX, and I don't use the standard Debug and Release configurations in Visual Studio. I'm using the wixproj file to integrate with Visual Studio, but I'm confused by something. When I add a wix project in visual studio and build it, it wo

Re: [WiX-users] not able to access unc locations in deffered custom actions

2010-09-16 Thread Wilson, Phil
That's the way it works. If you're impersonating you're not elevated so you can't create files in C:\. If you are impersonating you can't access the network. This is why trying to do your own custom copying in these situations is frequently a bad idea. Phil Wilson -Original Message

Re: [WiX-users] not able to access unc locations in deffered custom actions

2010-09-16 Thread Sanjay Rao
That mean I cannot copy a file to network or c: using a deferred custom action. Is that true ? Please advice. On 16-09-2010 11:30, Wilson, Phil wrote: > That's the way it works. If you're impersonating you're not elevated so you > can't create files in C:\. If you are impersonating you can't acc

Re: [WiX-users] Microsoft bootstrapper

2010-09-16 Thread Sai Kodi
Here is a working bootstrapper (save the below content as an xml file): http://schemas.microsoft.com/developer/msbuild/2003";> $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GenericBoot strapper\...@path) Microsoft .NET Framework 3.5 true Wi

Re: [WiX-users] not able to access unc locations in deffered custom actions

2010-09-16 Thread Fabio Di Lorenzo
>From UNC to PC: Its possible -> During immediate, trigger a custom acitons which copies the files to the local temp folder of the installing user. then, in the deferred sequence, copy that folder to the right location To UNC: Not possible during deferred, but if your "installing" user has write

Re: [WiX-users] Microsoft bootstrapper

2010-09-16 Thread Umeshj
Thanks for your help. Unfortunately this does not work. As you had suggested I created a bootstrapper file. Located it in c:\ Changed to the V3.5 of the framework directory and ran msbuild with the argument bootstrapper file. Here is the output. --- C:\>cd C:\Windows\Microsoft.NET\Framew

Re: [WiX-users] FeatureSelection Dialog

2010-09-16 Thread Umeshj
Thanks Nick, It works now. Adding these property change events to the SelectionTree did it. Umesh -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/FeatureSelection-Dialog-tp5536563p5540932.html Sent from the wix-users mailing list archive at Na

Re: [WiX-users] How to conditionally check/uncheck a checkbox

2010-09-16 Thread Nick Ramirez
Right, I sort of understood your question from the start, but I tried to take the easy way out! Try this: myCheckboxResult NOT myCheckboxResult I found this solution by reading this earlier post by Bob Arnson: http://www.mail-archive

Re: [WiX-users] Microsoft bootstrapper

2010-09-16 Thread Sai Kodi
That's weird. Not sure why its looking in the c: folder. It should searching for them in the SDK location. Can you check the path registry value and specify the value data. -Original Message- From: Umeshj [mailto:umesh_jogle...@hotmail.com] Sent: Thursday, September 16, 2010 3:24 PM To: w