[WiX-users] Windows 98 and ALLUSERS
I have a registry key that I want to install with different values depending on whether the installation is per machine or per user. This works fine on Windows XP but on Windows 98 the key goes through the per user route even when doing a per machine install. Is there some kind of gotcha for Windows 98 or am I just doing things the wrong way? The fragment in question looks like this: Fragment DirectoryRef Id=APPLICATIONDATAFOLDER Component Id=PerMachineRegistry Guid={93D89901-8F33-4857-852F-F729261835CF} Condition(ALLUSERS=1 OR (ALLUSERS=2 AND Privileged))/Condition RegistryValue Id=PerMachineConfigDirRegEntry Root=HKMU Key=[INSTREGKEY] Name=DefConfigDir Action=write Type=string Value=%CommonAppData%\MyApp / RemoveRegistryKey Action=removeOnUninstall Root=HKMU Key=[INSTREGKEY] / /Component Component Id=PerUserRegistry Guid={54E49F51-E7AC-40DC-AA6E-DEB3706B28CB} Condition(ALLUSERS= OR (ALLUSERS=2 AND NOT Privileged))/Condition RegistryValue Id=PerUserConfigDirRegEntry Root=HKMU Key=[INSTREGKEY] Name=DefConfigDir Action=write Type=string Value=%LocalAppData%\MyApp / RemoveRegistryKey Action=removeOnUninstall Root=HKMU Key=[INSTREGKEY] / /Component /DirectoryRef /Fragment (Or should I just forget about Win98? :-) -- View this message in context: http://www.nabble.com/Windows-98-and-ALLUSERS-tf3332569.html#a9266532 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Windows 98 and ALLUSERS
1. Well, Microsoft has given up on 9x... smile/ 2. ALLUSERS behaves very strangely on 9x. From the documentation: Windows 95, Windows 98, and Windows Me: The installation is per-user or per-machine depending upon the operating system configuration. If Profiles are on and the Start menu is per-user, the Installer does a per-user installation. If Profiles are on and Start menu is shared, the Installer does a per-machine installation. If Profiles are not on and Start menu is shared, then the Installer does a per-user installation. 3. What does %CommonAppData% and %LocalAppData% resolve to? I don't seem to have those environment variables on my XP box. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Robertson Sent: Friday, March 02, 2007 1:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Windows 98 and ALLUSERS I have a registry key that I want to install with different values depending on whether the installation is per machine or per user. This works fine on Windows XP but on Windows 98 the key goes through the per user route even when doing a per machine install. Is there some kind of gotcha for Windows 98 or am I just doing things the wrong way? The fragment in question looks like this: Fragment DirectoryRef Id=APPLICATIONDATAFOLDER Component Id=PerMachineRegistry Guid={93D89901-8F33-4857-852F-F729261835CF} Condition(ALLUSERS=1 OR (ALLUSERS=2 AND Privileged))/Condition RegistryValue Id=PerMachineConfigDirRegEntry Root=HKMU Key=[INSTREGKEY] Name=DefConfigDir Action=write Type=string Value=%CommonAppData%\MyApp / RemoveRegistryKey Action=removeOnUninstall Root=HKMU Key=[INSTREGKEY] / /Component Component Id=PerUserRegistry Guid={54E49F51-E7AC-40DC-AA6E-DEB3706B28CB} Condition(ALLUSERS= OR (ALLUSERS=2 AND NOT Privileged))/Condition RegistryValue Id=PerUserConfigDirRegEntry Root=HKMU Key=[INSTREGKEY] Name=DefConfigDir Action=write Type=string Value=%LocalAppData%\MyApp / RemoveRegistryKey Action=removeOnUninstall Root=HKMU Key=[INSTREGKEY] / /Component /DirectoryRef /Fragment (Or should I just forget about Win98? :-) -- View this message in context: http://www.nabble.com/Windows-98-and-ALLUSERS-tf3332569.html#a9266532 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installation parameters on uninstall
Hi, I need to run some custom actions on uninstall but the custom actions need to know the parameters that I've given the msiexec command when I installed the application. How can I do this with wix? I kept trying msiexec /x ... with the exact same syntax as when installing the application. The only solution that comes to my mind is to place the values in the registry. Would that be the best solution or is there some other way of doing it? Thanks, Virgil - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Windows 98 and ALLUSERS
Well, Microsoft has given up on 9x... I know... but I still have people out there that haven't for some reason. ALLUSERS behaves very strangely on 9x. From the documentation: If I run the install with logging enabled I see ALLUSERS=1 and Privileged=1 which kind of implies that I should have taken the per-machine route in the fragment I posted? And my HKMU registry addressing got me to HKLM rather than HKCU which points in the same direction? What does %CommonAppData% and %LocalAppData% resolve to? They work OK on Vista :-) On earlier platforms the app has code to pull in appropriate folders when the enviroment variable doesn't exist. -- View this message in context: http://www.nabble.com/Windows-98-and-ALLUSERS-tf3332569.html#a9267349 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional feature properties...
Hi... what about silent (unattended) installation? Or installation with reduced UI? msiexec /i Package.msi /qr regards Stefan Carl Quirion wrote: Ok, i found a simple way to do it, im calling CostFinalize on the PushButton of my Next button, on the serial number form. Example: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=amp;Next Publish Event=DoAction Value=CheckingPID1/Publish Publish Event=SpawnDialog Value=InvalidPidDlgPIDACCEPTED = 0/Publish Publish Event=DoAction Value=CostFinalize1/Publish [...] Thanks -- Carl Quirion [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] On 3/1/07, *Carl Quirion* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: From my understanding, CostFinalize is done before any UI is shown... however my CA validats a serial number entered by the user. I can't launch my CA before the user enter his serial number, that wouldnt make any sense, hehe. Can re-order the sequence so that CostFinalize is only called after that particular dialog (Before the feature tree dialog) ? On 3/1/07, *Bob Arnson* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Carl Quirion wrote: My FeatureTree shows up and every products are visible, when i was expecting product3 to be invisible. Whats wrong? You probably need to sequence your CA before the CostFinalize action; that's when MSI queries the Condition http://condition_table.htm table to determine which features are scheduled to be installed (or so says the doc). -- sig://boB http://bobs.org -- Carl Quirion [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional feature properties...
Those are already managed in my InstallExecuteSequence. No worries there ;) -- Carl Quirion [EMAIL PROTECTED] On 3/2/07, Stefan Pavlik [EMAIL PROTECTED] wrote: Hi... what about silent (unattended) installation? Or installation with reduced UI? msiexec /i Package.msi /qr regards Stefan Carl Quirion wrote: Ok, i found a simple way to do it, im calling CostFinalize on the PushButton of my Next button, on the serial number form. Example: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=amp;Next Publish Event=DoAction Value=CheckingPID1/Publish Publish Event=SpawnDialog Value=InvalidPidDlgPIDACCEPTED = 0/Publish Publish Event=DoAction Value=CostFinalize1/Publish [...] Thanks -- Carl Quirion [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] On 3/1/07, *Carl Quirion* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: From my understanding, CostFinalize is done before any UI is shown... however my CA validats a serial number entered by the user. I can't launch my CA before the user enter his serial number, that wouldnt make any sense, hehe. Can re-order the sequence so that CostFinalize is only called after that particular dialog (Before the feature tree dialog) ? On 3/1/07, *Bob Arnson* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Carl Quirion wrote: My FeatureTree shows up and every products are visible, when i was expecting product3 to be invisible. Whats wrong? You probably need to sequence your CA before the CostFinalize action; that's when MSI queries the Condition http://condition_table.htm table to determine which features are scheduled to be installed (or so says the doc). -- sig://boB http://bobs.org -- Carl Quirion [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Properties read in with RegistrySearch, manipulated after that in the UI
Tobias Bengtsson wrote: that makes sense.. how do one go about to use explicit AddLocal controls? can't recall to have seen the use of it in the great tutorial by Gabór. I don't see any examples in the WiX tree. The basic idea is that you have a control event tied to a button (e.g., Next): Publish Event=AddLocal Value=ALL(condition goes here)/Publish -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] merge module that conditionally installs a component
John Lalande wrote: I would like to further enhance this merge module such that if a user later installs Act, then they run a Repair, it will install this component. I suspect that this isn't possible as a Repair is simply repairing the components that are already installed. Or is there a way around this? Take a look in the MSI SDK for transitive. There are some things to be aware of but you can have MSI re-evaluate component conditions during repair. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional feature properties...
Carl Quirion wrote: Ok, i found a simple way to do it, im calling CostFinalize on the PushButton of my Next button, on the serial number form. I'm not sure that's supported -- CostFinalize is supposed to be paired with CostInitialize so I'm not sure you can repeatedly call it. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX3 build fails
When I run the make.bat file I find the build fails with the following error: BUILD FAILED - 2 non-fatal error(s), 3 warning(s) D:\WiX\WiX3\Source\global.include(229,6): External Program Failed: cl (return code was 2) I think I have all the prerequisites install. The full output of the build is shown below. Can anyone see what is failing? Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] NAnt 0.85 (Build 0.85.2478.0; release; 14/10/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///D:/WiX/WiX3/Source/wix.build Target framework: Microsoft .NET Framework 2.0 Target(s) specified: inc [property] Target framework changed to Microsoft .NET Framework 1.1. [readregistry] Registry Path Not Found! - key='SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs\D2FF9F89-8AA2-4373-8A 31-C838BF4DBBE1\';hive='Microsoft.Win32.RegistryHive[]'; [readregistry] Registry Path Not Found! - key='SOFTWARE\Microsoft\VisualStudio\VSIP\8.0.60912\';hive='Microsoft.Wi n32.RegistryHive[]'; [echo] Visual Studio 2005 SDK September 2006 not detected; Sconce and Votive will not be built. prereqcheck: snskip: [exec] Microsoft (R) .NET Framework Strong Name Utility Version 1.1.4322.573 [exec] Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. [exec] Assembly/Strong Name Users [exec] === [exec] *,36e4ce08b8ecfb17All users [delete] Deleting file C:\Documents and Settings\Neil Sleightholm\Local Settings\Temp\tmp73.tmp. global.makeDirs: makeDirs: createKeyFile: wixbuild.inc: [exec] Microsoft (R) Build Engine Version 2.0.50727.42 [exec] [Microsoft .NET Framework, Version 2.0.50727.42] [exec] Copyright (C) Microsoft Corporation 2005. All rights reserved. [exec] Build started 02/03/2007 17:56:55. [exec] __ [exec] Project D:\WiX\WiX3\Source\src\wixbuild\WixBuild.csproj (Build target(s)): [exec] Target CoreCompile: [exec] Skipping target CoreCompile because all output files are up-to-date with respect to the input files. [exec] Target CopyFilesToOutputDirectory: [exec] WixBuild - D:\WiX\WiX3\Source\Release\debug\WixBuild.dll [exec] Build succeeded. [exec] 0 Warning(s) [exec] 0 Error(s) [exec] Time Elapsed 00:00:00.07 wixbuild: doccompiler.inc: flattenXml: flattenxml.inc: [exec] Microsoft (R) Build Engine Version 2.0.50727.42 [exec] [Microsoft .NET Framework, Version 2.0.50727.42] [exec] Copyright (C) Microsoft Corporation 2005. All rights reserved. [exec] Build started 02/03/2007 17:56:55. [exec] __ [exec] Project D:\WiX\WiX3\Source\toolsrc\flattenxml\FlattenXml.csproj (Build target(s)): [exec] Target GetSdkDirectories: [exec] Registry value at 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs\8F9E5E F3-A9A5-491B-A889-C58EFFECE8B3\Install Dir' is 'C:\Program Files\Microsoft Platform SDK\'. [exec] PlatformSdkIncludePath=C:\Program Files\Microsoft Platform SDK\\Include\ [exec] VC8BinPath=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\ [exec] Target CoreCompile: [exec] Skipping target CoreCompile because all output files are up-to-date with respect to the input files. [exec] Target CopyFilesToOutputDirectory: [exec] FlattenXml - D:\WiX\WiX3\Source\Release\debug\FlattenXml.exe [exec] Build succeeded. [exec] 0 Warning(s) [exec] 0 Error(s) [exec] Time Elapsed 00:00:00.09 generatewixinclude.inc: msggen.inc: flattenXml: residgen.inc: votivepp.inc: wixcop.inc: xsdgen.inc: xsdstitch.inc: toolsrc.inc: toolsrc: wixdll.inc: flattenXml: flattenXml: flattenXml: flattenXml: flattenXml: flattenXml: flattenXml: flattenXml: flattenXml: wixdll: wconsole.inc: wconsole: candle.inc: candle: dark.inc: dark: light.inc: light: lit.inc: lit: dutil.inc: makeNativeLib: checkRequiredArgs: compileCpp: checkRequiredArgs: [cl] Compiling 5 files to 'D:\WiX\WiX3\Source\Build\debug'. [cl] Command line warning D4002 : ignoring unknown option '-GS' [cl] Command line warning D4002 : ignoring unknown option '-RTC1' [cl] cabcutil.cpp [cl] D:\WiX\WiX3\Source\src\dutil\cabcutil.cpp(553) : error C2362: initialization of 'i' is skipped by 'goto LExit' [cl] D:\WiX\WiX3\Source\src\dutil\cabcutil.cpp(527) : see declaration of
[WiX-users] File Types support in WiX???
Hi, I am new to WiX and wondering if there is any File Type support in WiX or not. I used the 'dark' tool to convert an MSI package (having file types defined in it) into WiX source, but it seems that the tool is ignoring those file types or there is no support for it in WiX at all. I would appreciate quick help. Kind Regards, Muhammad Asim Ghaznawi - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] File Types support in WiX???
What is a File Type? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Ghaznawi Sent: Friday, March 02, 2007 10:46 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] File Types support in WiX??? Hi, I am new to WiX and wondering if there is any File Type support in WiX or not. I used the 'dark' tool to convert an MSI package (having file types defined in it) into WiX source, but it seems that the tool is ignoring those file types or there is no support for it in WiX at all. I would appreciate quick help. Kind Regards, Muhammad Asim Ghaznawi - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] simple question
Hi. This is probably a really stupid question but I am very new to wix... I was wondering if there is away to do this: If (a == b) C = some string Else C = some other string Under the product element (in other words I am not in a control or dialog). I have been trying stuff like this but it doesn't compile: Property Id=is20 ![CDATA[MsiNetAssemblySupport = 2.0.50727]] /Property ?if [is20]? Property Id=URT_VER Value=2.0 / ?else? Property Id=URT_VER Value=1.1 / ?endif? Any help would be appreciated!! Thanks! Lindsay Harris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] simple question
You need to use Type 51 CustomActions with conditions. MSI is more declarative than procedural so this sort of thing isn't always as trivial as you might expect coming from a procedural language. Fortunately, the only time you do this sort of thing is for UI so the impact of getting it wrong is usually reduced. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lindsay Harris Sent: Friday, March 02, 2007 11:26 AM To: wix-users@lists.sourceforge.net Cc: Rajive Kumar Subject: [WiX-users] simple question Hi. This is probably a really stupid question but I am very new to wix... I was wondering if there is away to do this: If (a == b) C = some string Else C = some other string Under the product element (in other words I am not in a control or dialog). I have been trying stuff like this but it doesn't compile: Property Id=is20 ![CDATA[MsiNetAssemblySupport = 2.0.50727]] /Property ?if [is20]? Property Id=URT_VER Value=2.0 / ?else? Property Id=URT_VER Value=1.1 / ?endif? Any help would be appreciated!! Thanks! Lindsay Harris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] File Types support in WiX???
File types are used to register the a file extension against the application along with the Context menu commands. E.g. .txt files are normally associated with notepad. And context menu has a command as 'Edit' for all .txt files. Visual Studio Setup deployment project refers this as File Types and has a dedicated editor for it named File Types Editor. Anyways, I think I have figured out the solution. There is an 'Extension' element in WiX Schema that registers the file extensions along with the commands (using 'Verb' as child element). Have a look at the WiX help for 'Extension' and 'Verb' elements. However, there seems to be a bug (or feature is missing) in the Dark tool that it is not converting these file types into .wxs files. Regards, Muhammad Asim Ghaznawi From: Rob Mensching Sent: Friday, March 02, 2007 10:59 AM To: Muhammad Ghaznawi; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] File Types support in WiX??? What is a File Type? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Ghaznawi Sent: Friday, March 02, 2007 10:46 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] File Types support in WiX??? Hi, I am new to WiX and wondering if there is any File Type support in WiX or not. I used the 'dark' tool to convert an MSI package (having file types defined in it) into WiX source, but it seems that the tool is ignoring those file types or there is no support for it in WiX at all. I would appreciate quick help. Kind Regards, Muhammad Asim Ghaznawi - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Trying to use a system property in a property
Hi all - I am having some trouble using a system property. My current goal is to make a backup copy of some *.cmd files in the System32 directory because on installation I will be overwriting them (and then on uninstall I will be restoring the backups, but I am not there yet). My current problem is that I get a Error 1314. The specified path '[SystemFolder]' is unavailable error when I run the MSI. I am just trying to use the CopyFile element to copy the file usrlogon.cmd to my install dir. Some questions: 1. It seems I can refer to a system property such as ProgramFilesFolder in an Id without enclosing it in braces. How is this the case? 2. When I run the msi that the following XML creates, I get Error 1314. The specified path '[SystemFolder]' is unavailable in the log. Is the property getting defined at a time when I cannot refer to system properties? 3. When and where can I refer to things like ProgramFilesFolder and SystemFolder? When should I enclose in braces and when should I not? 4. You can see below that I attempted to define a property with a value of [SystemFolder]. That didn't work. However, neither did putting SystemFolder or [SystemFolder] in any of the places that I wanted that value (such as SourceDirectory in the CopyFile element). Why is this? ?xml blahWix blahProduct blahPackage blah /Media blah / Property Id='DiskPrompt' blah / Property Id=SysFolder Value ='[SystemFolder]' / Directory Id='ProgramFilesFolder' Name='PFiles' Directory Id='MinuteClinic' Name='MCDir' LongName='MinuteClinic Folder Long Name' Directory Id='INSTALLDIR' Name='SLDir' LongName='Server Logon Folder Long Name' Component Id='BackupCmds' Guid='A004C7F0-0585-4728-9F3C-C2C402549D7A' CopyFile Id=CopyUsr Delete=no SourceProperty='SysFolder' SourceName=usrlogon.cmd DestinationDirectory=INSTALLDIR DestinationName=usrlogon.bak DestinationLongName=usrlogon.cmd.bak/ /Component/Directory/Directory/Directory Feature Id='Complete' Level='1' ComponentRef Id='BackupCmds' / /Feature /Product/Wix Many thanks to all who respond! Josh Pepper Software Developer MinuteClinic This electronic mail message and attachments contain information which may be (a) LEGALLY PRIVILEGED, CONFIDENTIAL AND PROPRIETARY IN NATURE, OR OTHERWISE PROTECTED BY LAW FROM DISCLOSURE, and is (b) intended only for the use of the Addressee(s) named herein. If you are not the Addressee(s), or the person responsible for delivering this message to the Addressee(s), you are hereby notified that reading, copying, or distributing this message is prohibited. If you have received this electronic mail message in error, please contact us immediately (by reply e-mail) to inform us of the error and take the steps necessary to delete the message completely from your computer system and any related data. Thank you. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Windows 98 and ALLUSERS
I know... but I still have people out there that haven't for some reason. Do us all a favor and drop support for them so we don't have to support them as well. :) Joel Peterson Quality Engineer [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Robertson Sent: Friday, March 02, 2007 2:37 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Windows 98 and ALLUSERS Well, Microsoft has given up on 9x... I know... but I still have people out there that haven't for some reason. ALLUSERS behaves very strangely on 9x. From the documentation: If I run the install with logging enabled I see ALLUSERS=1 and Privileged=1 which kind of implies that I should have taken the per-machine route in the fragment I posted? And my HKMU registry addressing got me to HKLM rather than HKCU which points in the same direction? What does %CommonAppData% and %LocalAppData% resolve to? They work OK on Vista :-) On earlier platforms the app has code to pull in appropriate folders when the enviroment variable doesn't exist. -- View this message in context: http://www.nabble.com/Windows-98-and-ALLUSERS-tf3332569.html#a9267349 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] merge module that conditionally installs a component
Setting the Transitive attribute to 'yes' gives me a merge module that does exactly what I need. Nonetheless, you advised me to read the SDK docs for this attribute and I found the following: If this bit is set, the installer reevaluates the value of the statement in the Condition column upon a reinstall. If the value was previously False and has changed to True, the installer installs the component. If the value was previously True and has changed to False the installer removes the component even if the component has other products as clients. Since no other product will use this component, this is exactly what I want. Is there any other gotchas you know of that I should be aware of? I appreciate your help on this. John On 3/2/07, Bob Arnson [EMAIL PROTECTED] wrote: John Lalande wrote: I would like to further enhance this merge module such that if a user later installs Act, then they run a Repair, it will install this component. I suspect that this isn't possible as a Repair is simply repairing the components that are already installed. Or is there a way around this? Take a look in the MSI SDK for transitive. There are some things to be aware of but you can have MSI re-evaluate component conditions during repair. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to set asp.net version
I am working on windows 2003. I have created a new website using the website element. I need to set the asp.net version for the newly created website. Can anyone help? I am using Wix version 2.0.4415.0. TIA, Shayla- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Feature size problem
My feature select tree displays the size that each feature requires on the hard drive. One problem I'm having is if the user unselects all the features then all of the sizes change to either 0k, 1k, 512k, or 256k instead of their actual size. Has anyone encountered this problem? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Help Understanding the Directory Element
I'm sorry, but my little brain is just not getting it. How do I map from the file structure on my build server to the file structure on the destination machine? I'm not talking about radical file structure changes, just paths to the source files that go into the msi and where those files get placed when they come out of the msi. I realize that the msi is storing the final (destination) structure. But I don't get how to tell Wix where to find the files if they reside in a difference source path. My build server structure is: c: \Build \Product1 \Revision 2007.1.0 \Revision 2007.2.0 \Product2 \Revision 2007.1.0 I would like the files to be installed on the destination machine in this structure: ProgramFilesFolder \CompanyName \Product1Name \Product2Name So files from c:\Build\Product1\Revision 2007.1.0 get packaged up into an msi and installed on the destination machine in \Program Files\CompanyName\Product1Name This is possible right? Or do I have a fundamental mis-understanding of how this works? Thanks for any insights Christopher - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users