Re: [WiX-users] Replacing regsvr32 commands with Wix elements
I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter. WiX 3.5 already does that see the reg harvest type. Neil -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 20 June 2011 23:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements If I had to guess, this component may rely on other components. I swear I saw something along the lines of this with an ATL component. When the registry redirection occurs inside of Heat, it makes the registry look empty. As such, if your component required ATL it would fail inside its regsvr32 procedure. I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter (basically reg script being another heat fragment). With that, you could create an ATL.reg using heat against the ATL DLL, and then pass it as a parameter to the Heat call for your component. The only problem would be writing the logic to identify which attributes were changed by your DLL compared to your reg script. I could be way off base, but I think I could generate a reproducible test case. -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 4:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements My guess is it is not safe to ignore this warning. The generated Wix source contains nothing but a DirectoryRef, a Component, and File element. I know more is required to register a COM server than that. So heat does not work. Question now is, why not? -Original Message- From: Brad Lemings Sent: Monday, June 20, 2011 3:42 PM To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Replacing regsvr32 commands with Wix elements What does Unable to load file: error 93 mean? Here's the entire warning message: heat.exe : warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: C:\ Builds\MyNSE\MyNSE.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Unable to load file: C:\Builds\MyNSE\MyNSE.dll, error: 193 When I run the command regsvr32 MyNSE.dll, the command executes successfully. Safe to ignore this warning? -Original Message- From: Dave Brotherstone [mailto:dav...@pobox.com] Sent: Monday, June 20, 2011 1:58 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 1:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements Hmm. How can I capture the effects of the regsvr32 command in a .reg file which is what Heat expects? You don't need to - heat file yourfile.dll -o install_actions.wxs will capture everything that regsvr32 does (or actually what your DllRegisterServer call in the DLL does). It really is that easy :) -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking.
[WiX-users] generate log file on repair
I have a Wix install (exe) which always generates a log file in the users %temp% What do I need to do to ensure a log file is generated with the User clicks on Repair from Control Panel (Add/Remove or Programs and Features) ? Thanks. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] generate log file on repair
http://msdn.microsoft.com/en-us/library/aa370322.aspx Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Tissington [mailto:michael_tissing...@ciqual.com] Sent: 21 June 2011 10:33 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] generate log file on repair I have a Wix install (exe) which always generates a log file in the users %temp% What do I need to do to ensure a log file is generated with the User clicks on Repair from Control Panel (Add/Remove or Programs and Features) ? Thanks. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIXproj file schema?
Votive was very experimental/unfinished in WiX 2.0 so I would be very careful about re-using v2.0 .wixproj files. They're pretty quick to set up so you may be better off creating new v3.5 ones from scratch to save yourself any issues in future. There is no specific v3.5 WiX manual, the v3.0 pages apply. However a quick check of the URL will differentiate between v2.0 v3.0 docs. It is extremely annoying that searches in Google or Bing turn up the v2.0 doc pages before the v3.0 if the v3.0 ones show up at all. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Eric Teutsch [mailto:er...@powersoft.ca] Sent: 20 June 2011 18:49 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] WIXproj file schema? Hi, I have to upgrade a number of WIX 2 projects, and we played with Votive some years back and possibly due to that have some project files with .wixproj extension. When opening the solution with VS2010 (after installing Wix 3.5), the conversion wizard advised that the .wixproj files must be opened in the IDE and converted to the latest version before it can be built by MSBuild. Fair enough, but I can't find any reference to what a wixproj file is supposed to look like. Also when starting a search on the wix manual website, the pages that are returned don't specify whether the information is for WIX 2 or 3 or 3.5. Which makes one uncomfortable Thanks for any help! Eric T. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting user privileges
http://wix.sourceforge.net/manual-wix3/util_xsd_user.htm Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: 20 June 2011 20:56 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Setting user privileges Hi, is there a wix extension which is capable of creating a user with specific privileges? I need a non admin user with SeCreateSymbolicLink privilege. Michael -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] (no subject)
Your .wxi file should have the Include tag at the top level element not Fragment http://wix.sourceforge.net/manual-wix3/wix_xsd_include.htm You add directories in a .wxi the same way you add them in a .wxs, use Directory or DirectoryRef elements. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Christoph Goetz [mailto:christoph.go...@giepa.de] Sent: 20 June 2011 13:32 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] (no subject) Hi, I try to create my wix Project with an wxi File. In a wxi File i have packed all the Files which are installed. How can i inlude the Folders in the wxi File in the main.wxs? Code Sample : ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?Include C:\test.wxi ? ... Feature Id=ProductFeature Title=Test Level=1 ComponentRef Id=comp_DB8F510181154B28B50928C7DA07A49A/ /Feature In test.wxi is the Component: comp_DB8F510181154B28B50928C7DA07A. Fragment ComponentGroup Id=Test1-Files ComponentRef Id=comp_DB8F510181154B28B50928C7DA07A49A / ... Christoph -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting user privileges
How do you set a certain privilege with the user element? Am 21.06.2011 12:00, schrieb Pally Sandher: http://wix.sourceforge.net/manual-wix3/util_xsd_user.htm Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with theVirtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: 20 June 2011 20:56 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Setting user privileges Hi, is there a wix extension which is capable of creating a user with specific privileges? I need a non admin user with SeCreateSymbolicLink privilege. Michael -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] External Custom Action Not Working
Regarding your VBS custom action, see http://blogs.msdn.com/b/robmen/archive/2004/05/20/136530.aspx (pay special attention to the 3rd point Rob M. makes). Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Roy Clemmons [mailto:roy_clemm...@hotmail.com] Sent: 18 June 2011 13:35 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] External Custom Action Not Working I found the problem I was having. There was an non-displayable character in column1 1 of my vbscript file that was causing the installer to barf. To fix it, I simply created a new script file in a text editor, recompiled and it worked. Thanks to everyone that responded. Roy -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: Saturday, June 18, 2011 3:24 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] External Custom Action Not Working Well, here is what worked for me: -- WXS --- Fragment InstallExecuteSequence Custom Action=CA_InstallIIS Before=InstallCertificates![CDATA[IISMAJORVERSION = ]]/Custom /InstallExecuteSequence Binary Id=BIN_InstallIIS.vbs SourceFile=InstallIIS\InstallIIS.vbs/ CustomAction Id=CA_InstallIIS BinaryKey=BIN_InstallIIS.vbs VBScriptCall=Install Return=check Execute=immediate / /Fragment VBS (InstallIIS.vbs) option explicit const msiDoActionStatusNoAction = 0 const msiDoActionStatusSuccess = 1 const msiDoActionStatusFailure = 3 function Install() dim objWshShell, objFSO, strFile, strCommand, intRC set objWshShell = CreateObject(WScript.Shell) set objFSO = CreateObject(Scripting.FileSystemObject) if Not IsIISRequired then WriteLogMessage Installing IIS not required. Session.Property(SKIPCONFIGUREIIS) = 1 Install = msiDoActionStatusNoAction exit function end if ' install iis WriteLogMessage Installing IIS SetupProgress Installing IIS, Installing IIS, 3 TickProgress Initializing strFile = objFSO.GetSpecialFolder(2) objFSO.GetTempName WriteInstallIni strFile TickProgress Installing strCommand = sysocmgr /i:..\inf\sysoc.inf /q /r /u: strFile intRC = objWshShell.Run(strCommand, 0, TRUE) objFSO.DeleteFile(strFile) if intRC 0 then WriteLogMessage Installing IIS failed. Return code: intRC Install = msiDoActionStatusFailure exit function end if ' Installing ASP.NET TickProgress Registering ASP.NET strCommand = %WINDIR%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe /i intRC = objWshShell.Run(strCommand, 0 ,TRUE) ' Property(VAR_CUSTOM_ACTION_RESULT) = CStr(intRC) if intRC 0 then WriteLogMessage Registering ASP.NET failed. Return code: intRC Install = msiDoActionStatusFailure else Install = msiDoActionStatusSuccess end if end function sub WriteInstallIni(fileName) dim objFSO, objFile set objFSO = CreateObject(Scripting.FileSystemObject) const constForWriting = 2 set objFile = objFSO.OpenTextFile(fileName, constForWriting, True) objFile.WriteLine([Components]) objFile.WriteLine(iis_common = ON) objFile.WriteLine(iis_smtp = ON) objFile.WriteLine(iis_www = ON) objFile.WriteLine(iis_inetmgr = ON) objFile.WriteLine(aspnet=ON) objFile.WriteLine(fp_extensions=ON) objFile.Close end sub sub WriteLogMessage(text) dim msgrec Const msiMessageTypeInfo = H0400 ' create the message record Set msgrec = Installer.CreateRecord(1) ' field 0 is the template msgrec.StringData(0) = Log: [1] ' field 1, to be placed in [1] placeholder msgrec.StringData(1) = text ' send message to running installer Session.Message msiMessageTypeInfo, msgrec end sub function IsIISRequired ' product dependent IsIISRequired = true end function const msiMessageTypeProgress = H0A00 const msiMessageTypeActionStart = H0800 const msiMessageTypeActionData = H0900 sub SetupProgress(ActionName, ActionDescription, numTicksExpected) 'set the UI Status ACTIONSTART dim statusRecordObj, progressRecordObj set statusRecordObj = Installer.CreateRecord(3) statusRecordObj.StringData(1) = ActionName statusRecordObj.StringData(2) = ActionDescription 'below line defines a template for display on each message tick statusRecordObj.StringData(3) = [1] Session.Message msiMessageTypeActionStart, statusRecordObj 'resets the progress bar. set
Re: [WiX-users] Dependancy Checker dialog
Pre-req's should be implemented using bootstrappers not MSI packages. See Burn, dotnetinstaller (http://dotnetinstaller.codeplex.com/), SharpSetup (http://sharpsetup.eu/) etc. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Rahul Ramesh Ekbote [mailto:rahu...@microsoft.com] Sent: 17 June 2011 12:23 To: General discussion for Windows Installer XML toolset.(wix-users@lists.sourceforge.net) Subject: [WiX-users] Dependancy Checker dialog Hi, I want to add list of pre-requisites in my dialog box. As soon as the pre-requisite found the radio button should checked. Is there any readymade dialog available for this functionality or any one implemented such kind of dialog box. It's something similar like Microsoft Dependency Checker. Thanks, Rahul -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting user privileges
http://wix.sourceforge.net/manual-wix3/util_xsd_groupref.htm It's listed right there as a Child Element of the User Element. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: 21 June 2011 11:09 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting user privileges How do you set a certain privilege with the user element? Am 21.06.2011 12:00, schrieb Pally Sandher: http://wix.sourceforge.net/manual-wix3/util_xsd_user.htm Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with theVirtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: 20 June 2011 20:56 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Setting user privileges Hi, is there a wix extension which is capable of creating a user with specific privileges? I need a non admin user with SeCreateSymbolicLink privilege. Michael -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Computer Domain and Property(s) Listing
I believe USERDOMAIN will work. Still having issues getting the conditional logic to work for me, I'll keep trying. Thanks. On Fri, Jun 17, 2011 at 4:36 AM, Peter Shirtcliffe pshirtcli...@sdl.comwrote: Computer name includes only the NETBIOS name, not the domain. LogonUser doesn't contain the user's domain either. You could try getting what you want from environment variables. http://blogs.msdn.com/b/windows_installer_team/archive/2005/09/16/461742.aspx Just make sure the variable you check is available on all the OSes you support. -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: 16 June 2011 18:49 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Computer Domain and Property(s) Listing Hi All, I am looking for a quick way to determine if a system is on a specific domain when running an install. Can the LogonUser or Computer name property be used to derive this information? Is there another property that might help? I'm trying to avoid a custom action, but I'm not sure I can. Also, the latest version of Windows installer does not appear to log the property(s) listing as it did in Windows XP. Is there a way to enable this? FWIW, I enabled verbose loggin, and this information is still missing. Thanks! - - EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Computer Domain and Property(s) Listing
Just an FYI, to use Environment Variables as Properties you need to pre-pend them with % e.g. %USERDOMAIN (or [%USERDOMAIN] if using it in a string of the Formatted type). See http://msdn.microsoft.com/en-us/library/aa368012.aspx Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: 21 June 2011 11:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Computer Domain and Property(s) Listing I believe USERDOMAIN will work. Still having issues getting the conditional logic to work for me, I'll keep trying. Thanks. On Fri, Jun 17, 2011 at 4:36 AM, Peter Shirtcliffe pshirtcli...@sdl.comwrote: Computer name includes only the NETBIOS name, not the domain. LogonUser doesn't contain the user's domain either. You could try getting what you want from environment variables. http://blogs.msdn.com/b/windows_installer_team/archive/2005/09/16/461742 .aspx Just make sure the variable you check is available on all the OSes you support. -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: 16 June 2011 18:49 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Computer Domain and Property(s) Listing Hi All, I am looking for a quick way to determine if a system is on a specific domain when running an install. Can the LogonUser or Computer name property be used to derive this information? Is there another property that might help? I'm trying to avoid a custom action, but I'm not sure I can. Also, the latest version of Windows installer does not appear to log the property(s) listing as it did in Windows XP. Is there a way to enable this? FWIW, I enabled verbose loggin, and this information is still missing. Thanks! - - EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting user privileges
The GroupRef element is for adding the user into groups, not for assigning a privilege. I need only SeCreateSymbolicLink. AFAIK only Administrators group has this privilege, but the user must not be an administrator. So I cannot add it to this group. Am 21.06.2011 12:22, schrieb Pally Sandher: http://wix.sourceforge.net/manual-wix3/util_xsd_groupref.htm It's listed right there as a Child Element of the User Element. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with theVirtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: 21 June 2011 11:09 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting user privileges How do you set a certain privilege with the user element? Am 21.06.2011 12:00, schrieb Pally Sandher: http://wix.sourceforge.net/manual-wix3/util_xsd_user.htm Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with theVirtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: Michael Stoll [mailto:unwicht...@mistoll.de] Sent: 20 June 2011 20:56 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Setting user privileges Hi, is there a wix extension which is capable of creating a user with specific privileges? I need a non admin user with SeCreateSymbolicLink privilege. Michael -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] torch.exe under Wine
Dear WiX Users and Developers, Yesterday I started to use WiX. It seems to be an adequate choice to be the official tool to create a Windows installer for GeoGebra, the free dynamic mathematics software. (Earlier we used NSIS for that.) WiX does a wonderful job, so I thank the developers for this great software! Now I am about to create a multilingual installer. I learned that I need some tweaks to do that. My main problem is that we would like to run WiX from the Wine Windows emulator, because our packaging process runs completely on Linux. Fortunately, the newest Wine (+winetricks for the .NET Framework) can run WiX under Linux properly, so I was able to create a perfect MSI file using WiX, under Linux. Now I learned what I need to do is to create a multilanguage installer as http://wix.tramontana.co.hu/tutorial/transforms/morphing-installersdescribes. Unfortunately, running torch.exe under Wine gives the following exception: kovzol@kovzol-dell:~/workspace/geogebra/scripts/autobuild/windows/WiX$ wine ../wix35/torch.exe -p -t language GeoGebra.msi GeoGebra_hu-hu.msi -out hu-hu.mst fixme:sync:CreateMemoryResourceNotification (0) stub fixme:shell:URL_ParseUrl failed to parse Lwix fixme:shell:URL_ParseUrl failed to parse LSystem fixme:shell:URL_ParseUrl failed to parse Lwconsole fixme:shell:URL_ParseUrl failed to parse Lwix.resources fixme:shell:URL_ParseUrl failed to parse Lwix.resources Microsoft (R) Windows Installer Xml Transform Builder version 3.5.2519.0 Copyright (C) Microsoft Corporation. All rights reserved. fixme:shell:URL_ParseUrl failed to parse LSystem.Xml fixme:storage:create_storagefile Storage share mode not implemented. fixme:msi:MsiDatabaseGenerateTransformW 2 1 LZ:\\home\\kovzol\\workspace\\geogebra\\scripts\\autobuild\\windows\\WiX\\hu-hu.mst 0 0 fixme:shell:URL_ParseUrl failed to parse Lmscorlib.resources fixme:shell:URL_ParseUrl failed to parse Lmscorlib.resources fixme:shell:URL_ParseUrl failed to parse Lwix.resources fixme:shell:URL_ParseUrl failed to parse Lwix.resources fixme:shell:URL_ParseUrl failed to parse Lwix.resources fixme:shell:URL_ParseUrl failed to parse Lwix.resources torch.exe : error TRCH0001 : Call not implemented Exception Type: System.ComponentModel.Win32Exception Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Msi.Database.GenerateTransform(Database referenceDatabase, String transformFile) at Microsoft.Tools.WindowsInstallerXml.Binder.BindTransform(Output transform, String transformFile) at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file) at Microsoft.Tools.WindowsInstallerXml.Tools.Torch.Run(String[] args) fixme:shell:URL_ParseUrl failed to parse Ltorch.resources fixme:shell:URL_ParseUrl failed to parse Ltorch.resources Binder temporary directory located at 'C:\users\kovzol\Temp\swy7q6gd'. Unbinder temporary directory located at 'C:\users\kovzol\Temp\swy7q6gd'. Torch temporary directory located at 'C:\users\kovzol\Temp\wrh77ehg'. I know that this is rather a Wine problem than a WiX bug, but probably one of you have some kind of experience of running WiX under Wine. I am also interested in compiling WiX against Mono (for Unix) as well. Is it possible? If you like, you can read on how to run WiX under Linux/Wine at http://www.geogebra.org/trac/wiki/CreateMSIonUnix. The autobuild machinery is in developing phase yet, but anyone can check it out at http://www.geogebra.org/trac/browser/trunk/geogebra/scripts/autobuild/windows/WiX . I also experienced that RTF files generated by LibreOffice 3.2 or latex2rtf, are unable to work with WiX. Only Wordpad helped. So, thank you the great work again, and thank for any help in advance! Best regards, Zoltan Kovacs developer of the GeoGebra team -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Show Installer Log file
Hello All, I want to show installer log file created in temp folder on error/cancel and final screen. what are the best ways to do this? Thanks in advance, Loknath -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Replacing regsvr32 commands with Wix elements
I wasn't talking of harvesting a reg script, but rather taking a reg file or heat fragment as input for dependencies on the component you are harvesting. The idea being heat would inject the values from the script into the registry after the redirection, then call the DLLRegisterServer procedure, then remove the dependent values. In theory what are left are the values added by your component. I also was able to reproduce this using the COM component from http://www.antennahouse.com/product/ahf50/ahf5top.htm which requires ATL, though my error code is 998. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, June 21, 2011 2:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter. WiX 3.5 already does that see the reg harvest type. Neil -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 20 June 2011 23:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements If I had to guess, this component may rely on other components. I swear I saw something along the lines of this with an ATL component. When the registry redirection occurs inside of Heat, it makes the registry look empty. As such, if your component required ATL it would fail inside its regsvr32 procedure. I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter (basically reg script being another heat fragment). With that, you could create an ATL.reg using heat against the ATL DLL, and then pass it as a parameter to the Heat call for your component. The only problem would be writing the logic to identify which attributes were changed by your DLL compared to your reg script. I could be way off base, but I think I could generate a reproducible test case. -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 4:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements My guess is it is not safe to ignore this warning. The generated Wix source contains nothing but a DirectoryRef, a Component, and File element. I know more is required to register a COM server than that. So heat does not work. Question now is, why not? -Original Message- From: Brad Lemings Sent: Monday, June 20, 2011 3:42 PM To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Replacing regsvr32 commands with Wix elements What does Unable to load file: error 93 mean? Here's the entire warning message: heat.exe : warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: C:\ Builds\MyNSE\MyNSE.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Unable to load file: C:\Builds\MyNSE\MyNSE.dll, error: 193 When I run the command regsvr32 MyNSE.dll, the command executes successfully. Safe to ignore this warning? -Original Message- From: Dave Brotherstone [mailto:dav...@pobox.com] Sent: Monday, June 20, 2011 1:58 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 1:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements Hmm. How can I capture the effects of the regsvr32 command in a .reg file which is what Heat expects? You don't need to - heat file yourfile.dll -o install_actions.wxs will capture everything that regsvr32 does (or actually what your DllRegisterServer call in the DLL does). It really is that easy :) -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net
Re: [WiX-users] Show Installer Log file
I'd suggest taking one step back. You mention a log file created in the temp folder. Have you tried running your installer when the temp folder doesn't exist or the TEMP variable isn't defined? If you are calling MSIEXEC /L*v and wanting it to log to a TEMP folder I recommend you try it in these error conditions. MSIEXEC.EXE won't create the folder you want to log to if it doesn't exist. So, don't assume you will always be able to create a log file in the TEMP folder. Your MSI will simply fail if it can't create the log file. It will simply say Error opening installation log file. Verify that the specified log file location exists and is writable. You can't really assume that any folder exists. If you want to log reliably you must ensure that the folder you want to use exists before running the MSIEXEC.EXE command. Just a word of caution. If I were to test what you are proposing on the surface I could break it in an instant. -Original Message- From: lokanath devineni [mailto:ldevin...@yahoo.com] Sent: Tuesday, June 21, 2011 8:14 AM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Show Installer Log file Hello All, I want to show installer log file created in temp folder on error/cancel and final screen. what are the best ways to do this? Thanks in advance, Loknath -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom UI Controls
I have an app that has multiple services that can all use different identities to run. I am looking to create a SQL Server installer like experience for setting service accounts (http://twitpic.com/5etp2o). Are there any pointers on how to create custom controls for WIX? Thanks!Colin -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bug in 3.5 Votive?
I've got an undefined preprocessor variable in my .wxs file, but when I entered it into the Define preprocessor variables: edit box as var.Variable=abc it made no difference. I then tried the probably really wrong way of $(var.Variable)=abc At this stage the Votive editor wouldn't let me undo this change. Anything I tried produced the error message: The expression .Variable cannot be evaluated. Method 'System.String.Variable' not found All I could do is close the project without saving it. PS: Figured out now that I'm supposed to declare it as simply Variable=abc -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Replacing regsvr32 commands with Wix elements
I see, I have to say that sounds like a lot of work to go to just to use heat. Why not just snapshot the before and after the call to regsvr32 and create a reg file, that is what I have done in the past before heat was available. I would imagine it is only a one off action. Neil -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 21 June 2011 16:20 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements I wasn't talking of harvesting a reg script, but rather taking a reg file or heat fragment as input for dependencies on the component you are harvesting. The idea being heat would inject the values from the script into the registry after the redirection, then call the DLLRegisterServer procedure, then remove the dependent values. In theory what are left are the values added by your component. I also was able to reproduce this using the COM component from http://www.antennahouse.com/product/ahf50/ahf5top.htm which requires ATL, though my error code is 998. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, June 21, 2011 2:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter. WiX 3.5 already does that see the reg harvest type. Neil -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 20 June 2011 23:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements If I had to guess, this component may rely on other components. I swear I saw something along the lines of this with an ATL component. When the registry redirection occurs inside of Heat, it makes the registry look empty. As such, if your component required ATL it would fail inside its regsvr32 procedure. I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter (basically reg script being another heat fragment). With that, you could create an ATL.reg using heat against the ATL DLL, and then pass it as a parameter to the Heat call for your component. The only problem would be writing the logic to identify which attributes were changed by your DLL compared to your reg script. I could be way off base, but I think I could generate a reproducible test case. -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 4:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements My guess is it is not safe to ignore this warning. The generated Wix source contains nothing but a DirectoryRef, a Component, and File element. I know more is required to register a COM server than that. So heat does not work. Question now is, why not? -Original Message- From: Brad Lemings Sent: Monday, June 20, 2011 3:42 PM To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Replacing regsvr32 commands with Wix elements What does Unable to load file: error 93 mean? Here's the entire warning message: heat.exe : warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: C:\ Builds\MyNSE\MyNSE.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Unable to load file: C:\Builds\MyNSE\MyNSE.dll, error: 193 When I run the command regsvr32 MyNSE.dll, the command executes successfully. Safe to ignore this warning? -Original Message- From: Dave Brotherstone [mailto:dav...@pobox.com] Sent: Monday, June 20, 2011 1:58 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 1:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements Hmm. How can I capture the effects of the regsvr32 command in a .reg file which is what Heat expects? You don't need to - heat file yourfile.dll -o install_actions.wxs will capture everything that regsvr32 does (or actually what your DllRegisterServer call in the DLL does). It really is that easy :) -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list
Re: [WiX-users] Replacing regsvr32 commands with Wix elements
Greetings, This is a list of registry entries that I've uncovered for a couple of COM server components: RegistryValue Root=HKLM Key=SOFTWARE\Classes\CLSID\$(var.MyNSEGUID)\DefaultIcon ... RegistryValue Root=HKLM Key=SOFTWARE\Classes\CLSID\$(var.MyNSEGUID) Name=InfoTip ... RegistryValue Root=HKLM Key=SOFTWARE\Classes\CLSID\$(var.MyNSEGUID)\Shell Folder Name=Attributes Value=-1593835520 ... RegistryValue Root=HKLM Key=SOFTWARE\Classes\CLSID\$(var.MyNSEGUID)\Shell Folder Name=QueryForOverlay ... RegistryValue Root=HKLM Key=SOFTWARE\Classes\CLSID\$(var.MyNSEGUID)\Shell Folder Name=WantsFORPARSING ... RegistryValue Root=HKLM Key=SOFTWARE\Classes\CLSID\$(var.MyNSEGUID)\Shell Folder Name=PinToNameSpaceTree ... RegistryValue Root=HKLM Key=Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\Namespace\$(var.MyNSEGUID) ... RegistryValue Root=HKLM Key=Software\Microsoft\Windows\CurrentVersion\Explorer Name=GlobalAssocChangedCounter ... RegistryValue Root=HKLM Key=Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved ... RegistryValue Root=HKLM Key=SOFTWARE\Classes\*\ShellEx\{00021500---C000-0046} Value=$(var.MyShellExtInfotipGUID) RegistryValue Root=HKLM Key=SOFTWARE\Classes\AllFileSystemObjects\Shellex\ContextMenuHandlers\CMyContextMenuExt Value=$(var.MyShellExtGUID) RegistryValue Root=HKLM Key=Software\Microsoft\Windows\CurrentVersion\Explorer Name=GlobalAssocChangedCounter RegistryValue Root=HKLM Key=Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved Name=$(var.MyShellExtInfotipGUID) Value=CMyInfotipExt RegistryValue Root=HKLM Key=Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved Name=$(var.MyShellExtGUID) Value=CMyContextMenuExt ... My question is, are any of these registry entries already handled automagically by Class, ProgId, or other Wix elements? Is this the conventional way to register COM components in Wix? -Original Message- From: Brad Lemings Sent: Monday, June 20, 2011 4:33 PM To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Replacing regsvr32 commands with Wix elements No, I think you're right on the money. The NSE DLL that I'm testing requires MFC, Qt, and a host of other dependencies. Being that I had to rebuild my Service so that it is statically linked just so Windows Installer could start it at the expected time, the MFC/ATL dependency is no surprise. :P -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Monday, June 20, 2011 4:07 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements If I had to guess, this component may rely on other components. I swear I saw something along the lines of this with an ATL component. When the registry redirection occurs inside of Heat, it makes the registry look empty. As such, if your component required ATL it would fail inside its regsvr32 procedure. I had pondered making a patch myself, where heat would allow for a reg script to be passed as a parameter (basically reg script being another heat fragment). With that, you could create an ATL.reg using heat against the ATL DLL, and then pass it as a parameter to the Heat call for your component. The only problem would be writing the logic to identify which attributes were changed by your DLL compared to your reg script. I could be way off base, but I think I could generate a reproducible test case. -Original Message- From: Brad Lemings [mailto:b...@rebit.com] Sent: Monday, June 20, 2011 4:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replacing regsvr32 commands with Wix elements My guess is it is not safe to ignore this warning. The generated Wix source contains nothing but a DirectoryRef, a Component, and File element. I know more is required to register a COM server than that. So heat does not work. Question now is, why not? -Original Message- From: Brad Lemings Sent: Monday, June 20, 2011 3:42 PM To: General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Replacing regsvr32 commands with Wix elements What does Unable to load file: error 93 mean? Here's the entire warning message: heat.exe : warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: C:\ Builds\MyNSE\MyNSE.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this
[WiX-users] Redist an external MSI
Hi, I am totally new to WiX, Setup world and have just converted a Visual Studio setup project to WiX using dark. Now I need to redist an external MSI as part of our converted WiX setup. Any pointers how I should go about this would really help: - Are there any WiX redist samples I could learn from ? - Is it possible to change the InstallUISequence to insert checks for redist presence. If redist is not present, how can I download the publically available MSI and make it's installation part of installation experience of the rest of my app. Thanks for any pointers, Sameer -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Computer Domain and Property(s) Listing
Be carefull using USERDOMAIN, it is the domain of the account that is logged in, which is not necessarily that of the domain the machine is in - for instance if you are logged in as a local account on the machine USERDOMAIN will be the computer name. I have not found an environment variable that gives you this. Michael From: Andy Clugston [clug...@gmail.com] Sent: Tuesday, 21 June 2011 8:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Computer Domain and Property(s) Listing I believe USERDOMAIN will work. Still having issues getting the conditional logic to work for me, I'll keep trying. Thanks. On Fri, Jun 17, 2011 at 4:36 AM, Peter Shirtcliffe pshirtcli...@sdl.comwrote: Computer name includes only the NETBIOS name, not the domain. LogonUser doesn't contain the user's domain either. You could try getting what you want from environment variables. http://blogs.msdn.com/b/windows_installer_team/archive/2005/09/16/461742.aspx Just make sure the variable you check is available on all the OSes you support. -Original Message- From: Andy Clugston [mailto:clug...@gmail.com] Sent: 16 June 2011 18:49 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Computer Domain and Property(s) Listing Hi All, I am looking for a quick way to determine if a system is on a specific domain when running an install. Can the LogonUser or Computer name property be used to derive this information? Is there another property that might help? I'm trying to avoid a custom action, but I'm not sure I can. Also, the latest version of Windows installer does not appear to log the property(s) listing as it did in Windows XP. Is there a way to enable this? FWIW, I enabled verbose loggin, and this information is still missing. Thanks! - - EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Show Installer Log file
Hi, thanks for replying, i am using self extracting executable file, it extracts all the prerequisites, msi and setup file to a perticular location in temp folder. It is accessible and writing. no issues with the generation of log file. my only pending task is best way to show the log file link when installer fail/cancel/success cases. any thoughts/approaches are appreciated. Thanks, Loknath ---Message: 1 Date: Tue, 21 Jun 2011 09:51:43 -0700 From: Chad Petersen chad.peter...@harlandfs.com Subject: Re: [WiX-users] Show Installer Log file To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Message-ID: cd87c532540af04f8fb086d0cc7808dffef...@pdx-srv-ex1.harlandfs.com Content-Type: text/plain; charset=iso-8859-1 I'd suggest taking one step back. You mention a log file created in the temp folder. Have you tried running your installer when the temp folder doesn't exist or the TEMP variable isn't defined? If you are calling MSIEXEC /L*v and wanting it to log to a TEMP folder I recommend you try it in these error conditions. MSIEXEC.EXE won't create the folder you want to log to if it doesn't exist. So, don't assume you will always be able to create a log file in the TEMP folder. Your MSI will simply fail if it can't create the log file. It will simply say Error opening installation log file. Verify that the specified log file location exists and is writable. You can't really assume that any folder exists. If you want to log reliably you must ensure that the folder you want to use exists before running the MSIEXEC.EXE command. Just a word of caution. If I were to test what you are proposing on the surface I could break it in an instant. -Original Message- From: lokanath devineni [mailto:ldevin...@yahoo.com] Sent: Tuesday, June 21, 2011 8:14 AM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Show Installer Log file Hello All, ? I want to show installer log file created in temp folder on error/cancel? and? final screen. what are the best ways to do this? ? Thanks in advance, ? Loknath -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bootstrapping .NET Framework 4.0
I have both .NET Framework 4.0 and Windows Installer 4.5 bootstrapped in my WiX project but during my testings with several machines/operating systems only the latter is being detected as not installed yet. I have verified that only .NET Framework 3.5 is installed on those machines so I'm wondering why .NET Framework 4.0 installation is not being triggered. My bootstrapper code is as follows... ItemGroup BootstrapperFile Include=Packages\DotNetFX40Client\.NETFramework,Version=v4.0 VisibleTrue/Visible ProductNameMicrosoft .NET Framework 4 (x86 and x64)/ProductName InstallTrue/Install /BootstrapperFile BootstrapperFile Include=Packages\WindowsInstaller4_5\Microsoft.Windows.Installer.4.5 VisibleTrue/Visible ProductNameWindows Installer 4.5/ProductName InstallTrue/Install /BootstrapperFile /ItemGroup Target Name=AfterBuild GenerateBootstrapper ApplicationFile=$(TargetFileName) ApplicationName=BidMagic BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(cddir) Path=C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\ / /Target -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users