Re: [WiX-users] Bit of a twist
Title: Re: [WiX-users] Bit of a twist Thanks Rob for the script! The reason I say it's messy is because it if one wants to add different functionality not supported by native WiX one needs to add another scriptthen another and so on. For just solving one problem it's fine, fore more it starts getting a bit messy :) Keep everything in one dll with exposed methods is a bit cleaner, butthere are butsit gets proprietary and if not documented no one can figure it out without looking at the source code. So in the end this is also probably not the best way to go. Ideally it should be in the WiX extensionsand it probably will in time :) Regards Morten Morton, I'm not sure why calling a script makes the code messy and maintenance much harder. Especially compared to calling a dll. Here's the script I use to load a dropdown list of available (already defined) websites on a server. Note: It sets the property WEBSITE to the name of the first website found (typically Default Website). It adds any defined websites to the combobox named WEBSITE. It sets the property NUMWEBSITES to the number of websites found. - 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] Use of WindowsFolder property
This is probably very straightforward but could someone help me on the following. When using the 'WindowsFolder' installer property as part of a directory search it works fine. Property Id="NET20" DirectorySearch Id='NET20Dir' Path="[WindowsFolder]Microsoft.NET\Framework\v2.0.50727" / /Property However when using in the source file attribute of a binary element it does not, I get the error "File of type 'Binary' with name '[WindowsFolder]Microsoft.Net\Framework\v2.0.50757\InstallUtilLib.dll' could not be found" from Light.exe Binary Id="InstallUtil" SourceFile="[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\InstallUtilLib.dll" / Am I missing something obvious here? I am trying to use the binary element to identify a dll that already exists on the target machine. Any assistance would be greatly appreciated. . -- HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are authorised and regulated by the Financial Services Authority. == - 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] Need help with checkboxes
Hello all. I have some checkboxes in dialog: Control Id=LaunchServer Type=CheckBox Property=StartServer CheckBoxValue=1 TextLaunch [ProductName]/Text /Control Control Id=LaunchServerAsService Type=CheckBox Property=StartServerAsService Textas service/Text Condition Action=disableStartServer = 0/Condition Condition Action=enableStartServer = 1/Condition /Control Property Id=StartServer0/Property When it show on dialog, I have: LaunchServer - checked LaunchserverAsService - disabled, checked When I press LaunchServer and check it again LaunchServerAsService - checked, enabled But If I check LaunchServer again - LaunchserverAsService not change it state. What wrong? Thanks, Anton - 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] Need help with checkboxes
Anton:Instead of using StartServer = 0 try NOT StartServer for the condition that disables the second checkbox. It is a little counterintuitive, but if you take a look at the MSI log, you should see that unchecking a checkbox doesn't set the value of the property to 0, it deletes it altogether. DanaOn 9/7/06, Anton Filippov [EMAIL PROTECTED] wrote: Hello all.I have some checkboxes in dialog:Control Id=LaunchServer Type=CheckBox Property=StartServerCheckBoxValue=1TextLaunch [ProductName]/Text /ControlControl Id=LaunchServerAsService Type=CheckBoxProperty=StartServerAsServiceTextas service/TextCondition Action="" = 0/Condition Condition Action="" = 1/Condition/ControlProperty Id=StartServer0/PropertyWhen it show on dialog, I have: LaunchServer - checkedLaunchserverAsService - disabled, checkedWhen I press LaunchServer and check it againLaunchServerAsService - checked, enabledBut If I check LaunchServer again - LaunchserverAsService not change it state. What wrong?Thanks,Anton-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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___WiX-users mailing listWiX-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] errors using light.exe on the latest stable.
Hi. I try out the latest version 2.0.4415. When I try out the SampleWixUI, I get lots of the following errors: light.exe : error LGHT0122 : The localization string 'ProgressTextInstallValidate' is unknown. Ensure that the localization variable $(loc.ProgressTextInstallValidate) is defined. What should I do? -- Jarl Friis Softace ApS Omøgade 8, 2.sal 2100 København Ø. Denmark Phone: +45 26 13 20 90 E-mail: [EMAIL PROTECTED] LinkedIn: https://www.linkedin.com/in/jarlfriis - 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] choosing a SQLserver instance
Hi, my setup needs to create a SQL database and then to run scripts in it. I can see how to do that using WiX. What I cannot find is the way to get the list of SQL instances the user could connect to, in order to populate a list box in the UI. Any suggestion for that matter? Thanks C. - 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] FW: choosing a SQLserver instance
From: Claire Kari Sent: Thursday, September 07, 2006 11:07 AM To: 'wix-users@lists.sourceforge.net' Subject: choosing a SQLserver instance Hi, my setup needs to create a SQL database and then to run scripts in it. I can see how to do that using WiX. What I cannot find is the way to get the list of SQL instances the user could connect to, in order to populate a list box in the UI. Any suggestion for that matter? Thanks C. - 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] Elevating custom action on Vista
That's the whole point really. The general issue is that many custom actions are arguably incorrect because to access secure parts of the system theyrun with the installing user's privilege, who was therefore required to be privileged. The "right" thing is to run deferred with noimpersonation, requiring them in the scripted part of the execute sequence. To get them running with privilege in the UI sequence I believe the recommended solution is to launch the MSI with a manifested exe that will demand privilege with a UAC dialog so the MSI is launched with privilege. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob ArnsonSent: Wednesday, September 06, 2006 7:39 PMTo: Chesong LeeCc: WiX-users; Dana GutrideSubject: Re: [WiX-users] Elevating custom action on Vista Chesong Lee wrote: As for Windows Vista, in most cases if custom actions are involved, regardless of Elevation is allowed for MSI installation in Group Policy, UAC dialog should appear and MSI process should have as much privileges as the logon user has.But only deferred+noimpersonate CAs can elevate via UAC.-- 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
[WiX-users] Error 1303. The installer has insufficient privileges to access this directory..
Any reason why we are getting this error even though the logged on user has admin privilege? Error 1303. The installer has insufficient privileges to access this directory: C:\Config.Msi. Thanks in advance! - 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] error when merging with msvbvm60.msm
Hello, old (non-msi based) setup has these lines in log: ... ACTION: SystemFile: C:\WINNT\SYSTEM32\MSVBVM60.DLL (File currently on disk was already up to date) ... ACTION: DllSelfRegister: C:\WINNT\SYSTEM32\MSVBVM60.DLL ... I added Merge and MergeRef element to my files fragment.wxs and main.wxs. After executing command light some error message appers F:\tmp\wix\didakta-geometrie1-2002-klient\main.wxs : error LGHT0112 : Unresolved reference to symbol 'Merge:msvbvm60.1E64E430-36E0-11D2-A794-0060089A724B' in se ction 'Product:3A41A001-5F28-4598-8225-4A3A13878F73'. make.EXE: *** [all] Error 112 msvbvm60.msm is in the right directory. What is the problem? Thank you in advance. S. Kunc - 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] merge module for olepro32.dll
Where can I get msm file for olepro32.dll? Thank you. S. Kunc - 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] WebDirProperties
Hi Im using WiX 2.0.3719 In IIS, for a Website, there are 3 options for Execute permissions (none, script only and scripts and executables). The Execute attribute in WebDirProperties is YesNo Type yes sets scripts and executables no sets to none. As luck would have it, Im after the middle one. Any ideas? Also in my website I want to disable Default Documents. There is a DefaultDocuments attribute on WebDirProperties but that only seems to be for specifying a list of documents, does anyone know how to disable this option in WiX (there is a checkbox in IIS settings Many thanks in advance Simon - 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] merge module for olepro32.dll
Standa Kunc wrote: Where can I get msm file for olepro32.dll? Thank you. You don't need one it exists on the base install of windows. Tony - 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] Error 1303. The installer has insufficient privilegesto access this directory..
Verify that the SYSTEM account is allowed access? Should be Full Control, I believe. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dangle123 ...Sent: Thursday, September 07, 2006 1:15 PMTo: wix-users@lists.sourceforge.netSubject: [WiX-users] Error 1303. The installer has insufficient privilegesto access this directory.. Any reason why we are getting this error even though the logged on user has admin privilege? Error 1303. The installer has insufficient privileges to access this directory: C:\Config.Msi. Thanks in advance! - 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] Elevating custom action on Vista
Wilson, Phil wrote: That's the whole point really. The general issue is that many custom actions are arguably incorrect because to access secure parts of the system theyrun with the installing user's privilege, who was therefore required to be privileged. The "right" thing is to run deferred with noimpersonation, requiring them in the scripted part of the execute sequence. To get them running with privilege in the UI sequence I believe the recommended solution is to launch the MSI with a manifested exe that will demand privilege with a UAC dialog so the MSI is launched with privilege. Correct. The UI sequence doesn't support elevation directly because you (generally) don't need elevated privs before you get into modifying the system. -- 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] Error 1303. The installer has insufficientprivilegesto access this directory..
It doesn't happen everytime. It just happens sporatically though... From: "Wilson, Phil" [EMAIL PROTECTED]To: wix-users@lists.sourceforge.netSubject: Re: [WiX-users] Error 1303. The installer has insufficientprivilegesto access this directory..Date: Thu, 7 Sep 2006 15:18:51 -0700MIME-Version: 1.0Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by bay0-mc8-f12.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 7 Sep 2006 15:21:59 -0700Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 2484712C05; Thu, 7 Sep 2006 15:21:50 -0700 (PDT)Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)id 1GLSFo-0006KB-1hfor wix-users@lists.sourceforge.net; Thu, 07 Sep 2006 15:21:48 -0700Received: from outbound-kan.frontbridge.com ([63.161.60.23]helo=outbound1-kan-R.bigfish.com)by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168)(Exim 4.44) id 1GLSFl-0008Vg-5bfor wix-users@lists.sourceforge.net; Thu, 07 Sep 2006 15:21:46 -0700Received: from outbound1-kan.bigfish.com (localhost.localdomain [127.0.0.1])by outbound1-kan-R.bigfish.com (Postfix) with ESMTP id 4FFB9CBAF07for wix-users@lists.sourceforge.net;Thu, 7 Sep 2006 22:21:39 + (UTC)Received: from mail22-kan-R.bigfish.com (unknown [172.18.7.1])by outbound1-kan.bigfish.com (Postfix) with ESMTP id 489C4CBAED2for wix-users@lists.sourceforge.net;Thu, 7 Sep 2006 22:21:39 + (UTC)Received: from mail22-kan.bigfish.com (localhost.localdomain [127.0.0.1])by mail22-kan-R.bigfish.com (Postfix) with ESMTP id 3BD983BFC88for wix-users@lists.sourceforge.net;Thu, 7 Sep 2006 22:21:39 + (UTC)Received: by mail22-kan (MessageSwitch) id 1157667699138939_15709;Thu, 7 Sep 2006 22:21:39 + (UCT)Received: from WWGATEWAY2.wonderware.com (unknown [159.157.238.191])(using TLSv1 with cipher RC4-MD5 (128/128 bits))(No client certificate requested)by mail22-kan.bigfish.com (Postfix) with ESMTP id E4E123BF308for wix-users@lists.sourceforge.net;Thu, 7 Sep 2006 22:21:38 + (UTC)Received: from WWCORPMAIL.wonderware.com ([10.2.56.80]) byWWGATEWAY2.wonderware.com with Microsoft SMTPSVC(6.0.3790.1830);Thu, 7 Sep 2006 15:19:21 -0700 Verify that the SYSTEM account is allowed access? Should be Full Control, I believe. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dangle123 ...Sent: Thursday, September 07, 2006 1:15 PMTo: wix-users@lists.sourceforge.netSubject: [WiX-users] Error 1303. The installer has insufficient privilegesto access this directory.. Any reason why we are getting this error even though the logged on user has admin privilege? Error 1303. The installer has insufficient privileges to access this directory: C:\Config.Msi. Thanks in advance! -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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___WiX-users mailing listWiX-users@lists.sourceforge.nethttps://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