[WiX-users] Checking for duplicate entry in a table

2006-10-05 Thread BradW
In a Compiler Extension that we are currently using, we are inserting records into a few custom tables as well as the Binary table. During the execution of that compiler extension, is there a way to check for an existing entry before adding the new record so duplicate entries don't occur? --

[WiX-users] NTFS permissions for the Users Group

2006-10-05 Thread Simon Burgess
Hi Can anyone point me at how to add permissions to the windows temp folder for the Local Users group. I guess I need to know how I add permissions for a group to a folder Im not creating as part of my installer generally.

[WiX-users] CustomTableRef?

2006-10-05 Thread Eric Hybner
With FragmentRef deprecated, is there a supported mechanism for sucking in a CustomTable and associated data from an external file? How about storing data and schema separately (so that developer X can add data rows, but cant muck with my table schema)? Thanks!

[WiX-users] Multiple DLLs into GAC

2006-10-05 Thread Douglas Watts
I have more than a dozen DLLs that I need to install into the GAC. Ive learned how to install a file by merely adding the Assembly=.net attribute. This attribute requires the KeyPath=yes to be there as well. Is there an easy way to install multiple DLLs or do I have to create a component

[WiX-users] Calling a CustomAction defined in an MSM.

2006-10-05 Thread Carlos O'Donell
WiX Users, I have an MSM that defines a set of CustomAction entries. The MSM is merged into the MSI, and it is my responsibility to execute the MSM's custom actions. Unfortunately when I compile my project, light rightly complains: C:\xxx\yyy.xml : error LGHT0112 : Unresolved reference to

[WiX-users] Wix3.msi build 3.0.2128.0 doesn't recognize VS 2005 properly

2006-10-05 Thread Antti Järvinen
Hi, I'm trying to install Wix3.msi to my computer. Installation succeeds and but wix projects doesn't work in Visual Studio 2005 Professional. Some of VS2005 properties seems to point D:\ directory. Property(C): VS2005PROJECTAGGREGATOR2 = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\

Re: [WiX-users] Where to start? V2 or V3?

2006-10-05 Thread Darrel Miller
Not that my opinion should carry much weight considering Rob has already voiced his opinion, but he is obligated to take a more cautious stance than the rest of us. I would move whole heartedly to V3. Just the shortfilename, longfilename stuff alone was worth the move for me. Disclaimer: I'm

[WiX-users] Problem creating shortcut

2006-10-05 Thread Gilles QUERRET
Hi, I have a problem in my installer with creating shortcuts : basically, I need to create a shortcut where the executable isn't part of my installer and I just need to provide parameters. I retrieve the executable path using : Property Id=PROWCINI_PATH RegistrySearch Id=ProwcIniPath Root=HKLM

[WiX-users] WiX Monthly Meeting

2006-10-05 Thread Rob Mensching
The following is meeting notes from the WiX Monthly Meeting from 5:15 PM - 6:00 PM PST on Microsoft campus. The first meeting (last month) was where I announced that the internal Microsoft mailing list for WiX was going to be deprecated. Now (as you may have noticed) all communication happens

[WiX-users] Set selection tree options

2006-10-05 Thread Anton Filippov
Hello all I've have selection tree, and I want to set installing way options for features like Install and not install only. I'm trying follow combination, but I've install, not install and network install. How to remove network install? Feature Id='F1' Level='1' Display='expand'

Re: [WiX-users] Disable feature when property is empty

2006-10-05 Thread vbtricks
Thanks, got it to work with the following source Feature Id=FirefoxExtension Level=1001 Title=Extension for Mozilla Firefox Description=Extension for Mozilla Firefox TypicalDefault=install InstallDefault=followParent ComponentRef Id=jsFile / ComponentRef Id=overlay /

[WiX-users] Preselecting feature and disable install on first use

2006-10-05 Thread vbtricks
Salut, disabling the firefox-extension-feature when the browser's not installed now works. Still I got some problem. I'm trying to preselect the firefox extension-feature and disabling the install on first use option as my application does not support it. This is how far I got Feature

[WiX-users] Can I retrive public property values in merge modules??

2006-10-05 Thread vij
Hi, I am trying to use public properties in merge modules (these public property values are passedas command line arguments to the msi package), but I am unable to retrieve the public property values in merge modules.My questions is, Can I use public properties in merge modules? thanks

[WiX-users] ForceReboot action during Uninstallation(2)

2006-10-05 Thread Stefan Pavlik
Hi list... My question is probably related to Windows Installer (not to WiX) but anyway... I want to use ForceReboot standard action during uninstallation of the product. (ForceReboot will ask for immediate reboot of computer and schedule the installation to continue after reboot) I have

[WiX-users] Upgraded merge modules

2006-10-05 Thread Antony Walmsley
I've got a set of merge modules that have been used in installers sent to customers. Now I've got to recompile my wix files to pick up the newest versions of the executables (bug fixes, new features etc). Should the GUID in Module be changed to indicate the file contents have changed, or do I

[WiX-users] Creating a custom action that runs on install only

2006-10-05 Thread Jeff McKelvey
Im looking at the attributes for the CustomAction element and it is not clear to me how you would make the custom action only run on install. Another possibility may be to create a condition on the Custom element associated with the CustomAction? For example: Custom Action=""

Re: [WiX-users] Displaying status text for CAQuietExec action ?

2006-10-05 Thread Petr Vones
From: Bob Arnson [EMAIL PROTECTED] Use the ProgressText element to add a row to the ActionText table. Note Thanks, this is exactly what I was looking for. And another related question. I have multiple deferred CAQuietExec actions. Is possible detect which of them had failed and display

[WiX-users] dependencies when building MSI using VS2005/MSBuild

2006-10-05 Thread Jarl Friis
Hi. I use VS2005/MSBuild to build the MSI file. I experience that the build step only depends on the wxs files and wixlib files. However the resulting MSI file needs to be rebuilt whenever one of the refered files have changed. A line like File Id=filea.exe Name=filea.exe

[WiX-users] Authoring of Required Dialogs

2006-10-05 Thread Alec Siu
Hi All, I've authored my WiX with a set of dialogs comprising my setup wizard, and then I found this page on msdn: http://windowssdk.msdn.microsoft.com/en-us/library/aa368283.aspx Does this mean that I have to author the Reserved Dialog and Required Dialog boxes into my wix? I only found this

[WiX-users] Customizing the uninstall progress dialog.

2006-10-05 Thread Alex Mendes da Costa
I'm working on setting up an installer using WiX. When I uninstall my product, there's a dialog box displayed that just has a progress bar. I'd like to customize this uninstall dialog with some strings that explain to the user what's going on. Please would you let me know how to do that. I

[WiX-users] Combobox websites

2006-10-05 Thread Lerudjordet, Morten Minge
Title: Combobox websites Hi! Was wondering if anybody out there has played around with comboboxes and extracting the field based on user selection. I have a script that populates both websites and application pools to a combobox, and based on the user selection populate the given

Re: [WiX-users] Using a generated (by tallow.exe) fragment file in acomponent

2006-10-05 Thread Mike Dimmick
If I understand correctly, I believe Bob is saying that the component GUIDs in your installer should also be stable, which cannot currently be achieved with tallow. The Windows Installer SDK suggests that if you change the contents of a component to be incompatible with previous versions of

[WiX-users] Please help... disable feature based on another feature

2006-10-05 Thread Michael Carlisle
Hello, Can someone help. I have a SelectionTree and need to disable or enable a hidden feature based on the selection of another feature. I've worked out I can use publish events on my next button to enable or disable a feature based on a property, but how can I base this on the status of

[WiX-users] No messages from WiX-Users for 2 days

2006-10-05 Thread Stefan Pavlik
Hi all Anybody has an Idea why the wix-users forum is not working? I haven't received any mail from this forum for two days (since 2006-10-03). I hope that it is not the end of the WiX forum Stefan -- View this message in context:

[WiX-users] CustomActions does not invoke in InstallExecuteSequence rather gets invoked in InstallUISequence

2006-10-05 Thread Abani Kumar Ghadai
Hi, What could possibly be the reason for Custom Actions not being invoked if mentioned in InstallExecuteSequence table but works fine if mentioned in InstallUISequence table. Thanks, Abani - Take Surveys. Earn Cash.

[WiX-users] ODBC data source name hard coded

2006-10-05 Thread roxana
Hello, I would really appreciate your help with this issue. I'm using Wix-2.0.4415.0 under XP Professional SP2. I 'd like to let the user to chose its ODBC datasource name. I use an Edit control in a dialog, with a public property ODBCNAME attached and I set the ODBCDataSource's Name to this

Re: [WiX-users] Multiple DLLs into GAC

2006-10-05 Thread Mike Dimmick
One component per DLL. The general suggestion is one component per file, unless there is a very good reason not to (e.g. multi-file assemblies such as publisher policy assemblies, which must be a single component). -- Mike Dimmick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [WiX-users] WiX-users Digest, Vol 5, Issue 11

2006-10-05 Thread Eric Hybner
snip I have an MSM that defines a set of CustomAction entries. The MSM is merged into the MSI, and it is my responsibility to execute the MSM's custom actions. Unfortunately when I compile my project, light rightly complains: C:\xxx\yyy.xml : error LGHT0112 : Unresolved reference to symbol

Re: [WiX-users] WiX 3 in Team Foundation Build

2006-10-05 Thread Mike Dimmick
light.exe has, I believe,to load the .msi in order to perform the validation step. For the moment, you could suppress validation with the -sval switch which I think is a SuppressValidation property (I'm not familiar with MSBuild). -- Mike Dimmick From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [WiX-users] Calling a CustomAction defined in an MSM.

2006-10-05 Thread Mike Dimmick
I think it's simply that all the references are resolved by the linker _before_ the MSMs are merged in. This makes it impossible to reference anything in the MSM. I think merge module custom actions should be scheduled by authoring them in the ModuleInstallExecuteSequence (or

Re: [WiX-users] CustomTableRef?

2006-10-05 Thread Rob Mensching
Your latter scenario should work today. If you create a CustomTable with only Rows in it, it will automatically create a reference to the CustomTable with the definitions. Did that not work? If not, then please do open a bug and someone will fix it because it is supposed to work that way.

Re: [WiX-users] Upgraded merge modules

2006-10-05 Thread Rob Mensching
Check out the File Versioning topic in the MSI SDK. That is what will control how your files get upgraded. Changing the GUID on the Merge Module won't affect them. The Merge Module signature has a version, I would suggest leaving the GUID the same and just up'ing the version number... unless

Re: [WiX-users] Calling a CustomAction defined in an MSM.

2006-10-05 Thread Rob Mensching
You should schedule your CustomAction inside the Merge Module. When the Merge Module is merged it will be put in the correct sequence in the final MSI. The MSI SDK has more information about sequencing CustomActions in Merge Modules. -Original Message- From: [EMAIL PROTECTED]

Re: [WiX-users] Embedding MSI in a bootstrapper

2006-10-05 Thread Rob Mensching
You have to extract it. The Windows Installer engine doesn't know how to read MSI files out of resource streams. Besides, you're going to want to put the MSI in a place where future repair operations can find it. Otherwise the user will get prompted to find an MSI that is hidden inside your

Re: [WiX-users] Where to start? V2 or V3?

2006-10-05 Thread Rob Mensching
True, I take a more cautious stance. I really do want you guys to like me and giving bad advice doesn't seem like a good way to do that. smile/ One thing I would add to Darrel's statement below is that WiX v3 is still under development. From build to build, you may run into changes in the

Re: [WiX-users] Guid=*

2006-10-05 Thread Mike Dimmick
The intent is to generate a stable - the same - component GUID for the same resource. Rob's blog post 'Component Rules 101' describes how multiple components (remember, identified by GUID) installing the same resource can cause problems such as prematurely-removed resources or orphaned

Re: [WiX-users] Multiple DLLs into GAC

2006-10-05 Thread Rob Mensching
One GACd assembly per Component is the rules from the Windows Installer. Honestly, when considering the Component Rules, I would suggest one file per Component in almost all cases. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Watts Sent: Tuesday, October

Re: [WiX-users] Upgraded merge modules

2006-10-05 Thread Rob Mensching
Ahh, well, you should probably file a bug against InstallShield. They arent doing the right thing according to the MSI SDK (unless Im misunderstanding the SDK, which is possible... I did write that spec a very long time ago when I was an intern smile/). From: Antony Walmsley

Re: [WiX-users] Calling a CustomAction defined in an MSM.

2006-10-05 Thread Rob Mensching
Actually, your suggestion about using Fragments is a very much recommended. Merge Modules should be used when you are distributing blocks of code to across organizations that don't all use the WiX toolset. Otherwise, .wixlibs are far more efficient and powerful. -Original Message-

Re: [WiX-users] No messages from WiX-Users for 2 days

2006-10-05 Thread Rob Mensching
I actually thought the mailing bounced me off the list (again). I think now it was just an outage in SF tons of mail showed up today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Pavlik Sent: Thursday, October 05, 2006 3:45 AM To:

Re: [WiX-users] Access violation in light.exe (v2.0.4005.0)

2006-10-05 Thread Rob Mensching
You could try moving to a more recent build. There were some minor fixes but nothing that I think will actually fix this. Im a bit at a loss on how to even go about debugging this. What version of the CLR are you running? I wonder if maybe there is a double Dispose() in the code somehow.

Re: [WiX-users] Displaying status text for CAQuietExec action ?

2006-10-05 Thread Bob Arnson
Petr Vones wrote: And another related question. I have multiple deferred CAQuietExec actions. Is possible detect which of them had failed and display corresponding error message ? I tried to use the action value as a condition without a luck. Not really. When the CA fails, MSI rolls the

Re: [WiX-users] Where to start? V2 or V3?

2006-10-05 Thread Christer Solskogen
On Tue, 3 Oct 2006 13:02:42 -0400 Darrel Miller [EMAIL PROTECTED] wrote: Not that my opinion should carry much weight considering Rob has already voiced his opinion, but he is obligated to take a more cautious stance than the rest of us. I would move whole heartedly to V3. Just the

Re: [WiX-users] Wix3.msi build 3.0.2128.0 doesn't recognize VS 2005 properly

2006-10-05 Thread Bob Arnson
Antti Järvinen wrote: I'm trying to install Wix3.msi to my computer. Installation succeeds and but wix projects doesn't work in Visual Studio 2005 Professional. Some of VS2005 properties seems to point D:\ directory. Can you export the values in your

Re: [WiX-users] Votive 3 (ErrorDialog) error

2006-10-05 Thread Bob Arnson
Magus wrote: I keep getting an error with my ErrorDlg Error LGHT0204: ICE20: Specified ErrorDialog: 'ErrorDlg' not found in Dialog table (or its Control_First control is not 'ErrorText'). I have my ErrorDlg created just fine so the problem is the Control_First not being ErrorText. I do have

Re: [WiX-users] ForceReboot action during Uninstallation(2)

2006-10-05 Thread Bob Arnson
Stefan Pavlik wrote: Problem is that the msiexec wants to start the temporary file in C:\Windows\Installer\ which was deleted (and this is problem) during cleanup before reboot. When are you scheduling ForceReboot? The cached package shouldn't be removed until the install completes. Am I

Re: [WiX-users] Set selection tree options

2006-10-05 Thread Bob Arnson
Anton Filippov wrote: I'm trying follow combination, but I've install, not install and network install. How to remove network install? Make sure your features have components and not just child features. Even if the feature favors local, MSI offers run-from-source as an option if there

Re: [WiX-users] Please help... disable feature based on another feature

2006-10-05 Thread Bob Arnson
Michael Carlisle wrote: Can someone help. I have a SelectionTree and need to disable or enable a hidden feature based on the selection of another feature. I've worked out I can use publish events on my next button to enable or disable a feature based on a property, but how can I base this

Re: [WiX-users] Where to start? V2 or V3?

2006-10-05 Thread Bob Arnson
Christer Solskogen wrote: The only problem I know of is the lacking of documentation. For instance the help file included in wix3 contains docs for wix2. The WiX.chm in the WiX v3 releases contains schema doc for WiX v3. There are other topics that refer to WiX v2, however. -- sig://boB

Re: [WiX-users] Preselecting feature and disable install on first use

2006-10-05 Thread Bob Arnson
vbtricks wrote: But no matter which attributes I add to the extension feature, it is not preselected. Can you help me? What do you mean by preselected? -- sig://boB http://bobs.org - Take Surveys. Earn Cash.

Re: [WiX-users] .Net assembly registration possible bug

2006-10-05 Thread Bob Arnson
David Welch wrote: If I have _mainFile at the bottom of the component everything works. If I have _componentFile1 at the bottom, this file is added to the msi as a .Net assembly with version 0.0.0.0. Registration does not work on this file because I don't think it has a strong name.

Re: [WiX-users] WiX 3 in Team Foundation Build

2006-10-05 Thread Peterson, Joel
Hi Rob. Do you have any details on what specific domain policy is giving Light a headache? I can have that changed, but only if I know what specific policy setting is causing the issue. Id like to do that explicitly for our Team Foundation Server, rather than opening up security holes

Re: [WiX-users] Embedding MSI in a bootstrapper

2006-10-05 Thread Magus
If the Installation is interrupted by the user then the extracted MSI could still be left behind, I don't want the file to be left on the end Users computer. Rob Mensching-2 wrote: You have to extract it. The Windows Installer engine doesn't know how to read MSI files out of resource

Re: [WiX-users] Embedding MSI in a bootstrapper

2006-10-05 Thread Rob Mensching
That's why I'm planning to write a Disk Clean-up Wizard plug-in for WiX. smile/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Thursday, October 05, 2006 11:42 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Embedding MSI in

[WiX-users] Custom Action Return code changed from SUCCESS to FAILURE?

2006-10-05 Thread Stumpf, Mark
In a C++ custom action DLL we have, we are returning an ERROR_SUCCESS at the end of our action. But it seems like the value is being changed after we leave our dll into ERROR_INSTALL_FAILURE and the install rolls back. What could cause this and what can I do to protect our action? Thanks

Re: [WiX-users] Votive 3 (ErrorDialog) error

2006-10-05 Thread Mike Dimmick
Title: Re: [WiX-users] Votive 3 (ErrorDialog) error I'm going to hazard a guess that Text controls can't receive the focus, and therefore that they're not normally allowed to be the Control_First. However, I see that WixUI's ErrorDlg uses TabSkip="no" to work around this issue. The code in

Re: [WiX-users] Votive 3 (ErrorDialog) error

2006-10-05 Thread Magus
That worked changing to TabSkip=no just something I guess I overlooked. Mike Dimmick wrote: I'm going to hazard a guess that Text controls can't receive the focus, and therefore that they're not normally allowed to be the Control_First. However, I see that WixUI's ErrorDlg uses TabSkip=no

Re: [WiX-users] Access violation in light.exe (v2.0.4005.0)

2006-10-05 Thread Ilya Kleyman
Rob, MSDN documentation for MsiCloseHandle at http://windowssdk.msdn.microsoft.com/en-us/library/aa370067.aspx says that the function must be called from the same thread that requested creation of the handle. Given that the below call-stack is that of a finalizer called into by .NET

Re: [WiX-users] Calling a CustomAction defined in an MSM.

2006-10-05 Thread Carlos O'Donell
On 10/5/06, Mike Dimmick [EMAIL PROTECTED] wrote: I think it's simply that all the references are resolved by the linker _before_ the MSMs are merged in. This makes it impossible to reference anything in the MSM. Mike, Thanks for the reply. Yes, It was initially obvious that the wix linker

Re: [WiX-users] Calling a CustomAction defined in an MSM.

2006-10-05 Thread Rob Mensching
It is looking like this isn't going to be an easy thing to do, so I may push back and say Sequence the custom actions yourself please. Any comments from you would be much appreciated. The MSI SDK for Merge Modules agrees with you. They are not building their Merge Modules correctly.

Re: [WiX-users] Combobox websites

2006-10-05 Thread david adams
Morten: What are you trying to do specifically? We install WebSites WebAppPools based upon the results of checkboxes (checked value controls feature option that is selected for install). We use it to control which WebSite / WebAppPool is installed for our different application environments

Re: [WiX-users] Customizing the uninstall progress dialog.

2006-10-05 Thread Alex Mendes da Costa
Hi Bob, On 10/5/06, Bob Arnson [EMAIL PROTECTED] wrote: Alex Mendes da Costa wrote: I'm working on setting up an installer using WiX. When I uninstall my product, there's a dialog box displayed that just has a progress bar. I'd like to customize this uninstall dialog with some strings