Re: [WiX-users] Set Installdir
I do the same , I use After=LaunchConditions, which is about the first possible moment -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alexander Gnauck Sent: donderdag 10 augustus 2006 10:39 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Set Installdir Hello, i have to set the Installdir directory depending on a registry value. Of course the user can overwrite this default setting in the UI. So i read the path from the registry in a property and assign this property to the installdir property with a custom action. My problem is the sequencing of this custom action. What would be the correct sequence for executing this custom action? Thanks Alex - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Set Installdir
Hello, Jaap de Wolff schrieb: I do the same , I use After=LaunchConditions, which is about the first possible moment strange, i also tried this one and it didn't work for me. Here is my code: Property Id='INNO_INSTALLDIR' RegistrySearch Id=reg_read_innopath2 Key=... Name=... Root =HKLM Type=directory/ /Property CustomAction Id=SetInstallDir Property=INSTALLDIR Value=[INNO_INSTALLDIR]/ InstallExecuteSequence Custom Action=SetInstallDir After=LaunchConditions ![CDATA[(INNO_INSTALLDIR ) AND NOT Installed]] /Custom /InstallExecuteSequence Could you please post a snipped of your code? Alex - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Request for Advice regarding File Organisation
Bob, Thanks a bunch. I altered the test scenario to test what you said and reference counting did work as I had originally thought it did. I was unaware that the mechanism had changed along the way (whether that be since MSI infant or sometime as MSI evolved). Thanks for the input as this further clarified (for me at least) when each type of reference counting should be used. Dave Williamson Clear Sky Software 704.568.5544 sales 704.554.6300 support 704.943.0585 fax [EMAIL PROTECTED] www.clearskysoftware.com -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 2:29 AM To: Dave Williamson Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Eric Fesh'; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Request for Advice regarding File Organisation Dave Williamson wrote: Makes sense. My thoughts were more down the lines of using 3rd party files and needing to make sure those dependencies are installed ... things like mscomm32.ocx being installed in the windows\system32 directory ... up to now I never knew that reference counting wasn't at a higher level than each install ... I had assumed that reference counting occurred at a more global level. You can use Component/@SharedDllRefCount to tell MSI to also track the component using the pre-MSI DLL ref-counting mechanism in the registry. It's not ideal, as it's easy for the ref count to get out of date. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Set Installdir
Alexander Gnauck wrote: works now if i put it in InstallUISequence. InstallUISequence Custom Action=SetInstallDir After=LaunchConditions/ /InstallUISequence What happens if the Install runs silent then without UI? It wouldn't work -- you need to put it in both the UI and execute sequences. Or, don't use a custom action at all. If you use the same name for both the Property/RegistrySearch as in your Directory Id, the AppSearch custom action will set both. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Shortcuts in MSI+MSM
Hi Peter, Try using Target=[!MyProg.exe.MSM_GUID_HERE] or Target=[#MyProg.exe.MSM_GUID_HERE] I would recommend placing the shorcut in the merge file if possible to avoid any GUID changes down the road. Bill Miller -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter G. Sakhno Sent: Wednesday, August 09, 2006 8:37 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shortcuts in MSI+MSM Hello. I am trying to create shortcuts in MSI for files listed in MSM. I wrote following code: Shortcut Id=StartMenuMyProg Directory=ProgramMenuDir Name=MyProg Target=MyProg.exe.MSM_GUID_HERE/ Shortcut is not created and. In log file I found error 2715 for that shortcut, which means The specified File key not found in the File table. while the file with such File key IS presented in File table... What am I doin wrong? -- Best regards, Peter G. Sakhno C-MAP RUSSIA Ltd http://www.c-map.ru/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Support for Vista parental settings
Is there any resources for making Wix check for Parental settings on a Vista machine? So to prevent a user who cannot play M rated games from even installing the game? -- View this message in context: http://www.nabble.com/Support-for-Vista-parental-settings-tf2085869.html#a5748350 Sent from the wix-users forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Possible MergeModule bug
Standard directories are a little bit different. The way they work is you add a GUID to them everywhere. You also need to make sure the WindowsFolder is listed in your Directory table for your Merge Module (which I think is probably the root of your bug). Then, during the merge process mergemod.dll creates Type 51 CustomActions that resolve WindowsFolder.GUID to WindowsFolder. I think this is silly. My original draft of the Merge Module specification did exactly what you described below. However, the final draft of the spec was updated as per above. I never got a good answer (at least, not one I remember wink/) why the documented way is better. I want to say it had something to do with the way UI in Merge Modules might work... but whatever. Try adding WindowsFolder to your Directory tree. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: Wednesday, August 09, 2006 12:28 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Possible MergeModule bug I thinkwe have found a bug in WiX (both 2 and 3) concerning the modularization of various field values when making a merge module.As we understand it modularization means appending the module GUID to things like component names to make them unique when actually merged into an MSI. The WiX code also does this for properties in formatted fields, presumably to avoid property name clashes with the parent MSI (or any other merge modules). It doesn't modularize if the property is a standard one, but this check fails to include standard directories (which can also be used as properties).We found this bug when attempting to set a registry value for an event source, e.g.: Registry Root=HKLM Key=SYSTEM\CurrentControlSet\Services\Eventlog\Application\Enterprise Library Logging Name=EventMessageFile Value=[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll Type=string / In this example[WindowsFolder] ended up as [WindowsFolder.moduleguid]. This of course fails to resolve in the MSI resulting in an empty substitution value.We checked the same thing using a VS merge module setup project and it was fine. We traced through the WiX2 source and added the additional check for a standard directory in OutputRow.cs (on or near line 231)and it now worksok e.g.: string identifier = group.Value; if (!Common.IsStandardProperty(identifier) !Common.IsStandardDirectory(identifier) (null == ignoreModularizations || !ignoreModularizations.ShouldIgnoreModularization(identifier))) { sb.Insert(group.Index + group.Length, '.'); sb.Insert(group.Index + group.Length + 1, moduleGuid); } We think the call to IsStandardProperty ought to automatically call IsStandardDirectory but that may be a tooglobal change. Could someone confirm whether this is a bug and whether I should raise a bug report for it. Regards Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Support for Vista parental settings
No - but if you'd be interested in adding custom actions, I'm sure it would be a great addition to pubca. One interesting aspect about this for Vista is that most games will install to per-machine locations which will require admin privileges whereas most children accessing a computer should not be administrators (indeed if they are, then can't they just bypass the Parental settings?). So basically, I believe this type of a block would only be useful for games installed solely per-user. Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Thursday, August 10, 2006 10:01 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Support for Vista parental settings Is there any resources for making Wix check for Parental settings on a Vista machine? So to prevent a user who cannot play M rated games from even installing the game? -- View this message in context: http://www.nabble.com/Support-for-Vista-parental-settings-tf2085871.html#a57 48363 Sent from the wix-users forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Calling a custom action from a Dialog
I have a custom action dll that using a win32 dialog box, because I needed on the fly text in a scrollable text window. What I want done is for the actual Wix dialog box that follows (back button) to bring up that dialog anyone ever do this before? -- View this message in context: http://www.nabble.com/Calling-a-custom-action-from-a-Dialog-tf2087682.html#a5753940 Sent from the wix-users forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Calling a custom action from a Dialog
Magus wrote: I have a custom action dll that using a win32 dialog box, because I needed on the fly text in a scrollable text window. What I want done is for the actual Wix dialog box that follows (back button) to bring up that dialog anyone ever do this before? You'd have to modify the WixUI dialogs to support that. They use the NewDialog control event and you'd have to change it to DoAction. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users