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? What do I have to enter in the "Define preprocessor variables" and/or "Define WiX variables" inputs? Thanks, 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, May 14, 2009 11:32 AM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 36, Issue 64 Send WiX-users mailing list submissions to wix-users@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/wix-users or, via email, send a message with subject or body 'help' to wix-users-requ...@lists.sourceforge.net You can reach the person managing the list at wix-users-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of WiX-users digest..." Today's Topics: 1. Re: Absolute beginner need help! (Neil Sleightholm) 2. Re: Cross-Feature dependencies (Chris Ridd) 3. Post-installation - what got installed? (Chris Ridd) 4. Re: FW: Using a binary key from external merge module in Wix 3 (Eric St.John) 5. Re: UAC prompt on feature modification after installation (Eric St.John) 6. Re: Installing fonts (Rob Mensching) 7. Re: Preserve registry settings on upgrade (Eric St.John) ---------------------------------------------------------------------- Message: 1 Date: Thu, 14 May 2009 16:03:49 +0100 From: "Neil Sleightholm" <n...@x2systems.com> Subject: Re: [WiX-users] Absolute beginner need help! To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <e66649032ad92b42901bf5835c76a27f5...@harwood.x2systems.com> Content-Type: text/plain; charset="us-ascii" 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 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 Pan Hu, Application Engineer | EDS - HP | 202-414-8528 | pan...@eds.com ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ Message: 2 Date: Thu, 14 May 2009 16:05:25 +0100 From: Chris Ridd <chrisr...@mac.com> Subject: Re: [WiX-users] Cross-Feature dependencies To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <899ef08a-a147-49c7-b734-242aaf525...@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes 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 have a top-level Feature in my Feature tree that apparently only exists to provide the ConfigurableDirectory attribute. There's an argument for splitting off the setting of the configurable directories into another UI screen, I guess. Cheers, Chris ------------------------------ Message: 3 Date: Thu, 14 May 2009 16:08:17 +0100 From: Chris Ridd <chrisr...@mac.com> Subject: [WiX-users] Post-installation - what got installed? To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <a4008d61-abbf-4e27-a74b-2e7c23fee...@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes 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 ------------------------------ Message: 4 Date: Thu, 14 May 2009 08:11:05 -0700 From: Eric St.John <eric.st.j...@hotmail.com> Subject: Re: [WiX-users] FW: Using a binary key from external merge module in Wix 3 To: wix-users <wix-users@lists.sourceforge.net> Message-ID: <col107-w18fb19e67b5e77659ff1f3d6...@phx.gbl> Content-Type: text/plain; charset="iso-8859-1" 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 in Wix 3 > > > 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 <Merge> element. > I have another fragment written that define a feature consuming this mergemodule using <MergeRef> element. > > I have another merge module (Mymodule.msm) written which defines a custom action with its BinaryKey attribute set to value as externEntry. Mymodule.msm is defined in the FragmentX. > > When the code was in wix v1 things built fine. But, in v3 I am getting an error "Unresolved reference to symbol 'Binary:externEntry in section 'Module:Mymodule'." > > What should I do to resolve this issue ? > > Mukesh > > > ------------------------------------------------------------------------ ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Insert movie times and more without leaving Hotmail?. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tu torial_QuickAdd1_052009 ------------------------------ Message: 5 Date: Thu, 14 May 2009 08:21:29 -0700 From: Eric St.John <eric.st.j...@hotmail.com> Subject: Re: [WiX-users] UAC prompt on feature modification after installation To: wix-users <wix-users@lists.sourceforge.net> Message-ID: <col107-w26a75507960b0607e8df02d6...@phx.gbl> Content-Type: text/plain; charset="Windows-1252" 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 > > When I do a fresh install I'm using a bootstrapper to launch the msi > with admin rights so I can perform a LogonUser call in order to validate > the account used during the execution phase for the service. I want to > do that validation up front so I don't get an error during the execution > phase which would roll back the whole install. Everything works fine > except today I noticed if I go to change in Add/Remove programs it > doesn't elevate. So, when I go to the UI page where I enter in the > credentials I get an error that I can't impersonate because I don't have > those privileges with my current token. > > > > Is there a way to elevate upon change in add/remove programs? Is there a > better way to do the account validation to begin with? > > > > -Brooke > > ------------------------------------------------------------------------ ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Hotmail? has ever-growing storage! Don?t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tut orial_Storage1_052009 ------------------------------ Message: 6 Date: Thu, 14 May 2009 08:30:30 -0700 From: Rob Mensching <r...@wixtoolset.org> Subject: Re: [WiX-users] Installing fonts To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <4a0c3916.5020...@wixtoolset.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed 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, however, is that I was doing > this from a mergemodule. WiX applies modularization to the the > directory Id, causing this warnings. > > Can I suppress the modularization on the directory id? > > - Kim > > -- > > *Kim Gybels > Software Developer > * kim.gyb...@metris.com <mailto:kim.gyb...@metris.com> > Tel: +32 16 74 01 01 > Fax: +32 16 74 01 02 > > > > * Metris Europe > * Interleuvenlaan 86 > 3001 Leuven > Belgium > www.metris.com <http://www.metris.com/> > > > > > This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that > this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. > > ------------------------------------------------------------------------ ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------ Message: 7 Date: Thu, 14 May 2009 08:31:22 -0700 From: Eric St.John <eric.st.j...@hotmail.com> Subject: Re: [WiX-users] Preserve registry settings on upgrade To: wix-users <wix-users@lists.sourceforge.net> Message-ID: <col107-w62bffec6385ece3236216ad6...@phx.gbl> Content-Type: text/plain; charset="iso-8859-1" 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. This can be scoped by making a custom table that identifies which registry rows to migrate. This is essentially the same mechanism as the the registry search except you are required to write the registry search code yourself. This isn't actually a better solution, just different. It might be more maintainable and performant than all the registry searches and properties if you have a lot of registry values, but its a custom action so it will likely have bugs :). -Eric > Date: Wed, 13 May 2009 15:56:08 -0500 > From: alex.ivan...@shavlik.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Preserve registry settings on upgrade > > This is what I am doing. I hoped there was a better way. > > > -----Original Message----- > From: Michael Osmond [mailto:mosm...@baytech.com.au] > Sent: Wednesday, May 13, 2009 14:43 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Preserve registry settings on upgrade > > Alex, > > Use the Registry Search to read the values into Properties before the > upgrade, and use the Properties to write the registry settings. > > Michael > > ________________________________________ > From: Alex Ivanoff [alex.ivan...@shavlik.com] > Sent: Thursday, 14 May 2009 12:34 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Preserve registry settings on upgrade > > Is it possible to preserver registry settings on major upgrade and only > delete it on uninstall? > > > > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Insert movie times and more without leaving Hotmail?. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tu torial_QuickAdd1_052009 ------------------------------ ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users End of WiX-users Digest, Vol 36, Issue 64 ***************************************** ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users