Re: [WiX-users] Trying to remove features from list of features that can

2009-05-14 Thread Michael Zemanek
Take a look at Absent attribute hides the feature as such from any display controls. Feature is still changeable through publish actions and/or conditions. Original Message: - David Bartmess wrote: I have put conditions on the feature, but the problem is that the deciding variab

Re: [WiX-users] How to set control disabled/enabled on checkbox action?

2009-05-14 Thread Rob Mensching
I'm not a UI expert, but I've seen it said here that UI controls on a dialog cannot modify the state of other controls in a dialog until you refresh the dialog (Back/Next). Archives might prove that true. David Bartmess wrote: > I have a series of checkboxes that depend on each other, such as cb

Re: [WiX-users] Certificates and IIS

2009-05-14 Thread Schaff, Stephen
Rob, Thanks for pointing me in the right direction on this. I did not even know that wix.chm existed (I have only been using wix since February). With that I was able to get it working. Thanks again and thanks for making Wix happen. I love it! Stephen __

[WiX-users] How to set control disabled/enabled on checkbox action?

2009-05-14 Thread David Bartmess
I have a series of checkboxes that depend on each other, such as cbA is checked, then enable cbB, which enables cbC. How can I check within the dialog that a checkbox has been checked/unchecked and modify the other checkboxes as needed? I can't use featureselection control, because I have to hi

[WiX-users] Where can I find a list of events for subscribe action?

2009-05-14 Thread David Bartmess
I'm trying to write my own feature selection dialog, and can't find the list of events that can be used through the subscribe element. Can anyone point me to a doc or web URL that lists these? Google has been worthless, and it may be because it doesn't exist... David Bartmess Wall Street On De

Re: [WiX-users] Two Entries in Add or Remove Programs

2009-05-14 Thread Ingo Koch
Chuck schrieb: > Success! > > Alex Shevchuk wrote: >> OK, here is the problem. Upgrade/@Id must have the same value as >> Product/@UpgradeCode. > > Thank you, Alex. That was the problem. FindRelatedProducts is working and > only one entry exists in the Add or Remove Programs table after the > in

Re: [WiX-users] Trying to remove features from list of features that can be installed

2009-05-14 Thread David Bartmess
I saw in an article that someone had made a call to CostFinalize in a vbscript custom action. Does any know how to do that? I'm not a vbscript guru by any means, but if I could call this on a DoAction on a button, it should reset the feature levels like I want to do. Thanks! -Original Mes

Re: [WiX-users] Custom MergeModules

2009-05-14 Thread Brian Rogers
Hey James, That issue can be resolved by adding, under your main block, a . See if the below works for you. Basically the [SystemFolder] is referencing a property which is a directory. If your main directory block doesn't have it, then you will see that error. Hope that helps, Brian Roge

Re: [WiX-users] Custom MergeModules

2009-05-14 Thread MacDiarmid, James D
Hi Brian, Ok.. Thanks for the info. I guess I'm still unclear or was unclear on how I should be building my installer. I'm still flying blind where as I'm trying different things to see what works best. I was using WixAware, and now that I've pulled away from that I'm finding that there are a lo

Re: [WiX-users] Files in use

2009-05-14 Thread Neil Sleightholm
My RemoveExistingProducts is scheduled after InstallValidate and I see the FilesInUse in InstallValidate. Neil -Original Message- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: 14 May 2009 20:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-use

Re: [WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager)

2009-05-14 Thread Alex Shevchuk
Well, your custom action is deferred, no-impersonate, which means that it will be run under Local System credentials. Local System, albeit very powerful, has some limitations, like no access to network, etc. You can try to set Impersonate="yes". Alex -Original Message- From: Tom Kazim

[WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager)

2009-05-14 Thread Tom Kazimiers
Hi there, as part of my WiX 3 setup the CeAppMgr.exe is looked up and executed. This application is used to install software on windows CE devices (like Windows Mobile 5/6, etc.). To do so one has to call CeAppMgr.exe with an ini file and the user should get the information that software is beeing

Re: [WiX-users] Trying to remove features from list of features that can be installed

2009-05-14 Thread Rob Mensching
Yeah, makes sense. Bummer. David Bartmess wrote: > I have put conditions on the feature, but the problem is that the deciding > variable is taken from input from a custom action that checks entitlements > for each feature. This has to be done after the user enters a valid URL to > login to (and

Re: [WiX-users] Trying to remove features from list of features that can be installed

2009-05-14 Thread David Bartmess
I have put conditions on the feature, but the problem is that the deciding variable is taken from input from a custom action that checks entitlements for each feature. This has to be done after the user enters a valid URL to login to (and possibly a username/password if the first attempt fails).

Re: [WiX-users] Files in use

2009-05-14 Thread Wilson, Phil
If you have an MSI log for the upgrade, I think the log will show the FilesInUse around the InstallValidate action that's in the RemoveExistingProducts section of the log where the old version is being uninstalled if it's the uninstall. I think I've seen FilesInUse being shown there before - ex

Re: [WiX-users] Trying to remove features from list of features that can be installed

2009-05-14 Thread Rob Mensching
Not sure, but it sounds like you want to Condition the Feature. David Bartmess wrote: > I found that the Publish event AddLocal and Remove can set the feature to > install or not to install, but it doesn't completely remove the feature from > the list of features. > > What I need to do is remov

Re: [WiX-users] How to guide is always blank

2009-05-14 Thread Rob Mensching
All of the content there is in the WiX.chm. Grab that, in the meantime. Curtis Jewell wrote: > It's blank for now. There was a hiccup uploading the updated > documentation when the last build was released. It'll be fixed at the > time the next build is released. > > On Thu, 14 May 2009 14:15 -040

Re: [WiX-users] Two Entries in Add or Remove Programs

2009-05-14 Thread Chuck
Success! Alex Shevchuk wrote: > OK, here is the problem. Upgrade/@Id must have the same value as > Product/@UpgradeCode. Thank you, Alex. That was the problem. FindRelatedProducts is working and only one entry exists in the Add or Remove Programs table after the installation of the new version.

Re: [WiX-users] WiX-users Digest, Vol 36, Issue 69

2009-05-14 Thread Hu, Pan
In the meantime, where can I turn for guidance on how to create shortcuts for the installer? -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net]

Re: [WiX-users] Custom MergeModules

2009-05-14 Thread Brian Rogers
Hey Jim, In general merge modules should be avoided. Unless you have clients of your product which will be integrating your merge module it is better to use .wixlib files internally to allow for shared components across multiple packages. What error are you getting in heat? Thanks, Brian Rogers

Re: [WiX-users] WiX-users Digest, Vol 36, Issue 67

2009-05-14 Thread Shawn Dwyer
*Where is the WiX.chm documentation? I can't seem to find it on the site. * After installing Wix it can be found here: %ProgramFiles%\Windows Installer XML v3\doc\WiX.chm On Thu, May 14, 2009 at 2:01 PM, Hu, Pan wrote: > Where is the WiX.chm documentation? I can't seem to find it on the

Re: [WiX-users] How to guide is always blank

2009-05-14 Thread Curtis Jewell
It's blank for now. There was a hiccup uploading the updated documentation when the last build was released. It'll be fixed at the time the next build is released. On Thu, 14 May 2009 14:15 -0400, "Hu, Pan" wrote: > I'm trying to access the following URL for a how-to-guide on shortcuts: > http:/

Re: [WiX-users] How to guide is always blank

2009-05-14 Thread Shawn Dwyer
Pan - They are all blank for me as well On Thu, May 14, 2009 at 2:15 PM, Hu, Pan wrote: > I'm trying to access the following URL for a how-to-guide on shortcuts: > http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm > > > > It always gives me blank pages, no matter what link I

[WiX-users] How to guide is always blank

2009-05-14 Thread Hu, Pan
I'm trying to access the following URL for a how-to-guide on shortcuts: http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm It always gives me blank pages, no matter what link I click on. For instance, when I click "Files, Shortcuts and Registry" link all it does is make this

Re: [WiX-users] WiX-users Digest, Vol 36, Issue 67

2009-05-14 Thread Hu, Pan
Where is the WiX.chm documentation? I can't seem to find it on the site. -Pan Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com -Original Message- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Thursday, M

[WiX-users] Trying to remove features from list of features that can be installed

2009-05-14 Thread David Bartmess
I found that the Publish event AddLocal and Remove can set the feature to install or not to install, but it doesn't completely remove the feature from the list of features. What I need to do is remove the feature entirely, so that the customer doesn't even see it. As it is, they can still chan

Re: [WiX-users] Heat'ing TypeLib difficulties and difference between wix versions

2009-05-14 Thread Brian Rogers
Hey Jesper, That is good news. It might be worth you adding this example to SourceForge.net for others to find if you have a moment. http://sourceforge.net/tracker/?group_id=105970&atid=654188 Glad to hear all else is working well for you. Thanks, Brian Rogers "Intelligence removes complexity.

Re: [WiX-users] WiX-users Digest, Vol 36, Issue 64

2009-05-14 Thread Neil Sleightholm
In the sample it is defined at the top of the file - do you have that in your code? Neil -Original Message- From: Hu, Pan [mailto:pan...@eds.com] Sent: 14 May 2009 17:15 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users Digest, Vol 36, Issue 64 Thanks, Neil. How do

[WiX-users] How to get OnExit status in custom action using DTF

2009-05-14 Thread Shawn Dwyer
If I schedule a custom action for OnExit, is there an easy way from inside the custom action to determine if it was being called for OnExit="success", "error", or "cancel"? It seems like this is simple but for some reason it escapes me. For example if I wanted one exit dialog that showed the inst

[WiX-users] Custom MergeModules

2009-05-14 Thread MacDiarmid, James D
Should I be registering COMPlus/Non-ComPlus DLLs in a custom merge module? When I use Heat to extract the registry settings, and add them to the respective component, an error is caught on the setting for HelpDirectory parameter. It's set using the SystemFolder keyword. Jim MacDiarmid EDS, an

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

2009-05-14 Thread stephan o'farrill
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! BTW. having a Guid attribute in a Module element is deprecated in WiX3 - using the Guid from the Package instead does not w

Re: [WiX-users] Certificates and IIS

2009-05-14 Thread Rob Mensching
I don't think the current CustomActions let you reference an installed certificate. However, you can just add the Certificate element under your Component and reference it by your WebSite and it should work. The WiX.chm reference should have the bits and pieces to put it together since I don't

Re: [WiX-users] Preprocessor variable var..TargetFilePath

2009-05-14 Thread Rob Mensching
That variable comes from the project system. If you look at the command-line to candle.exe during the build, you'll see it (and may other things) passed in as the -D switch. You've asked a couple basic questions about the preprocessor. Have you read the WiX.chm documentation? Hu, Pan wrote: >

[WiX-users] Preprocessor variable var..TargetFilePath

2009-05-14 Thread Hu, Pan
I have the following component in my Product.wxs file for my WiX project: My question is, I want to use a preprocessor variable, i.e. $(var.MyApp.TargetFilePath) for the 'Source' attribute of the 'File' element above. In Votive 3.0, is var..TargetFilePath a built-

Re: [WiX-users] Post-installation - what got installed?

2009-05-14 Thread Chris Ridd
On 14 May 2009, at 16:53, Alex Shevchuk wrote: > I don't have ready to use solution, but > http://blogs.technet.com/alexshev/archive/2008/06/30/from-msi-to-wix-part-17 > -windows-installer-automation-interface-part-2.aspx may give you a > good > starting point, if that's what you want. Thanks

Re: [WiX-users] WiX-users Digest, Vol 36, Issue 64

2009-05-14 Thread Hu, Pan
Thanks, Neil. How do I define the preprocessor? I'm getting the error: Undefined preprocessor variable '$(var.Version)'. I see that preprocessor variables are defined in the project properties when I right-click the project in the solution explorer, but shouldn't these variables be predefined? W

Re: [WiX-users] Post-installation - what got installed?

2009-05-14 Thread Alex Shevchuk
I don't have ready to use solution, but http://blogs.technet.com/alexshev/archive/2008/06/30/from-msi-to-wix-part-17 -windows-installer-automation-interface-part-2.aspx may give you a good starting point, if that's what you want. Alex -Original Message- From: Chris Ridd [mailto:chrisr...

Re: [WiX-users] Post-installation - what got installed?

2009-05-14 Thread Rob Mensching
There is a whole portion of the MSI API dedicated to answering those questions. It is even automatable (available to script). Chris Ridd wrote: > Is there any good way of checking exactly what features and components > of a package actually got installed by a user? > > I was expecting to find som

Re: [WiX-users] checking for existing directory at runtime

2009-05-14 Thread Rob Mensching
AppSearch happens very early in the install process so it is only useful to initialize Properties. The UI interaction happens later. Michael Faden wrote: > Hi > > maybe this question is not really new, but I haven't found an answer yet.. > > In my installation dialog, the user has to enter the pa

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

2009-05-14 Thread Brooke Philpott
I'm currently using LogonUser. If I were to use SSPI I think I could validate the account, but I also need to impersonate the user. The reason is the service uses a connection string and I want to encrypt the connection string using the data protection api (DPAPI). So, I log in as the service accou

[WiX-users] Certificates and IIS

2009-05-14 Thread Schaff, Stephen
I have a wix project that creates a website. The certificate that that website uses is already be present on the machine being installed to. Is there a way to make the installer associate the website with the existing installer? (I can do this step manually, but I would rather have the installer

Re: [WiX-users] Questions on Why WiX Installer Combines the VSAddIns into One MSI

2009-05-14 Thread Rob Mensching
It will remove them if you do a major upgrade. The old "cached" package is used for uninstall (that would have the VS2005 support) and the new package won't (so VS2005 support won't get added). That's one, of several, reasons we only do major upgrades in the WiX MSI. jnewton wrote: > I've been

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

2009-05-14 Thread Rob Mensching
You'd have to refer to the Directory/@Id (that is in ALL CAPS, of course) with the Module GUID attached as well. stephan o'farrill wrote: > Hi, > Is it possible to select the install path (with UI) for one of the > directories in a merge module (containing several directories) from > the enclosin

Re: [WiX-users] Installing fonts

2009-05-14 Thread Rob Mensching
What version of the WiX toolset are you using? That shouldn't happen. Kim Gybels wrote: >> I always get the "is a Font and must be installed to the >> FontsFolder"-warnings. >> >> >> > The fonts need to be installed in the directory with Id=FontsFolder. > I was doing this correct. The problem

Re: [WiX-users] Preserve registry settings on upgrade

2009-05-14 Thread Eric St . John
One solution I have seen implemented is to write an immediate custom action that runs before RemoveExistingProducts, queries the registry table for registry path and name, reads the values for keys in the table, and overwrites the value column of the registry table for the in memory database.

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

2009-05-14 Thread Eric St . John
A quick search turned up this KB, not sure if it will help.http://support.microsoft.com/kb/180548 -Eric > Date: Wed, 13 May 2009 16:16:26 -0500 > From: bphilp...@sqlsentry.net > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] UAC prompt on feature modification after installation > >

Re: [WiX-users] FW: Using a binary key from external merge module in Wix 3

2009-05-14 Thread Eric St . John
Hello Mukesh, Have you tried setting SuppressModularization=yes on the binary element of your merge module? -Eric > From: magra...@microsoft.com > To: wix-users@lists.sourceforge.net > Date: Thu, 14 May 2009 15:54:20 +0800 > Subject: [WiX-users] FW: Using a binary key from external merge module

[WiX-users] Post-installation - what got installed?

2009-05-14 Thread Chris Ridd
Is there any good way of checking exactly what features and components of a package actually got installed by a user? I was expecting to find some evidence of their GUIDs in the registry somewhere, but none of them seem to be present despite things seemingly being installed. Cheers, Chris

Re: [WiX-users] Cross-Feature dependencies

2009-05-14 Thread Chris Ridd
On 14 May 2009, at 01:04, Rob Mensching wrote: > Yes. Features are a "tree" but Components can be duplicated throughout > as leaves as you want. In the end, a Component is installed as long as > one of its Features is installed. Thanks, that seems to work. It does feel a little confusing to now

Re: [WiX-users] Files in use

2009-05-14 Thread Neil Sleightholm
I changed to a single ServiceControl element and it still failed. I was wondering whether I am doing this right, I am modifying the new install but I was wondering if the problem is the original install that is being replaced - does anyone know which install is throwing up the "File in use" dialog?

Re: [WiX-users] Absolute beginner need help!

2009-05-14 Thread Neil Sleightholm
Try this: http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrade s.html Neil -Original Message- From: Hu, Pan [mailto:pan...@eds.com] Sent: 14 May 2009 15:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Absolute beginner need help! All, I have just down

[WiX-users] Absolute beginner need help!

2009-05-14 Thread Hu, Pan
All, I have just downloaded and installed WiX v3 for my Visual Studio 2008. I am able to create a WiX project, but I can't seem to get a basic Product.wxs file compilable. Can anyone point me to a very simple sample Product.wxs file that I can use to get just a successful build? Thanks! -Pan

[WiX-users] WixUI_Advanced flavor and 64 bits folder

2009-05-14 Thread Crusty Applesniffer
Hello, I wonder if there isn't a bug in "WixUI_Advanced" flavor with 64bits. The suggested folder in the destination folder dialog is "C:\Program Files (x86)\My App" but when I change the flavor into WixUI_InstallDir (and set the WIXUI_INSTALLDIR property), the suggested folder is the right o

[WiX-users] checking for existing directory at runtime

2009-05-14 Thread Michael Faden
Hi maybe this question is not really new, but I haven't found an answer yet.. In my installation dialog, the user has to enter the path to a EXE. When the user entered the value, I'd like to check, whether it really exists: . 1 1 NOT SEARCHFOREXE ..

[WiX-users] Visual C++ Runtime MSM

2009-05-14 Thread Alexander Bubnov
Hello, All! I have tried to install my application with distributed msm files as I have found in the Internet: Can you please let me know how can I check for success installation of runtime modules? Which files should be copied to computer? -- /BR, Alexander -

[WiX-users] Questions on Why WiX Installer Combines the VSAddIns into One MSI

2009-05-14 Thread jnewton
I've been looking over the WiX setup code which is used to create the WiX Toolset installer and had a best practice question regarding putting all support for Visual Studio versions into one MSI. WiX supports VS2005 and VS2008 and installs addins all in the same MSI. I'm actually in the same boat

[WiX-users] Select Target Path outside Merge Module

2009-05-14 Thread stephan o'farrill
Hi, Is it possible to select the install path (with UI) for one of the directories in a merge module (containing several directories) from the enclosing WiX3 product installer script? If yes, how do I have to define the property outside the merge module to be able to reference it inside the referri

Re: [WiX-users] where I can get documentation about wix?

2009-05-14 Thread Alexander Bubnov
I have found documentation in doc folder of wix distributive. 2009/5/14 Alexander Bubnov : > Hello, All! > It seems there a trouble to display documentation on wix site. > http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm > Is there another place wnere can I get docs? > > -- > /BR, Alexand

[WiX-users] CommonAppDataFolder Property on Win7/64

2009-05-14 Thread stephan o'farrill
Hi, Our WiX3 installer uses the CommonAppDataFolder Property (according to http://msdn.microsoft.com/en-us/library/aa367992(VS.85).aspx) to find out the path to the Application Data that are used by the software to install. That works on my XP machine ("C:\Documents and Settings\All Users\

Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled

2009-05-14 Thread nickheppleston
John, I was originally using the following WiX entry: Which produced the following entry in the MsiAssemblyName table (view using the Orca.exe tool shipped with the Windows SDK): name: Foo version: 1.0.0.0 culture: neutral publicKeyToken: 4A3C0A4C668B48B4 processorArchitecure: MSIL How

[WiX-users] where I can get documentation about wix?

2009-05-14 Thread Alexander Bubnov
Hello, All! It seems there a trouble to display documentation on wix site. http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm Is there another place wnere can I get docs? -- /BR, Alexander -- The NEW KODAK i700 Ser

Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled

2009-05-14 Thread John Daintree
Hi Nick, I have a similar problem I think. Could you post the WiX snippet for the assembly that you were having problems with so that I can compare and contrast with my own install? Many Thanks, /john - Original Message - From: "nickheppleston" To: Sent: Thursday, May 14, 2009 10:5

Re: [WiX-users] Uninstall Assembly from GAC when Wix MSI Uninstalled

2009-05-14 Thread nickheppleston
Phil, Many thanks for the reply. I spent some time reviewing the MsiAssemblyName table and discovered that the third-party assembly I am trying to install does not have ProcessorArchitecture attribute set, however I was specifying MSIL as the processor architecture in the WiX File element. As a r

Re: [WiX-users] Two Entries in Add or Remove Programs

2009-05-14 Thread Michael Zemanek
I've encountered a double ARP entry with one of my installers a couple of months ago. As far as I remember only private build part of product version was changed what made the new installer act like a small update instead of a major upgrade (MSI only uses the first three parts of the version number

Re: [WiX-users] Installing fonts

2009-05-14 Thread Kim Gybels
> I always get the "is a Font and must be installed to the > FontsFolder"-warnings. > > The fonts need to be installed in the directory with Id=FontsFolder. I was doing this correct. The problem, however, is that I was doing this from a mergemodule. WiX applies modularization to the the directory

[WiX-users] 'Automatic' Feature selection

2009-05-14 Thread Thomas Terhaar
Hi, Following Situation: The Installer for our Product uses a modified version of WiXUI_Mondo. In the Feature-Selection Dialog the user has the option to choose between different Skins for the Product. Problem is now when the user deselects ALL Skins, the Application refuses to start becau

Re: [WiX-users] Heat'ing TypeLib difficulties and difference between wix versions

2009-05-14 Thread jballe
Hey Brian, The problem is solved by changing the installScope, sorry for the inconvenience. So I won't file a bug, but thank you for noticing. Best regards, Jesper Brian Rogers wrote: > > Hey Jesper, > > Can you file a bug for this? Tomorrow is the last night to fix bugs on > heat.exe. Pleas

Re: [WiX-users] Heat'ing TypeLib difficulties and difference between wix versions

2009-05-14 Thread jballe
You lead me to the right direction however :) Thank you. Regard to http://technet.microsoft.com/en-us/library/cc739822.aspx the HKCR is a merge of HKLM/Software/Classes and HKCU/Software/Classes. That led me to wondering how the install scope for the new installation package was set, and there wa

[WiX-users] FW: Using a binary key from external merge module in Wix 3

2009-05-14 Thread Mukesh Agrawal
Hi I have an external merge module (say External.msm) which I am referencing in my installer. In Binary table of External.msm I have an entry (say externEntry). I have a fragment (say FragmentX) written to define this merge module using element. I have another fragment written that define a