[WiX-users] Votive/Wix 3.5 - Suppress compile of Project Reference during build
I currently have a WIX 3.5 project within VS2010 which has a number of project references. One of the projects referenced (ProjectA) is configured to NOT build within the solution configuration (set via the Solution Configuration Manager). I won't go into the reason that ProjectA is not built but the basic requirement is that I need to reference a file from the ProjectDir of ProjectA (i.e. there is no reference to TargetDir). Therefore for the purposes of this post please assume that I must NOT compile ProjectA. When building within VS2010 everything works fine and the Solution Configuration is respected (i.e. ProjectA is never actually compiled but the project reference works as intended). However when building the solution through TeamBuild, the WIX2010 targets (specifically ResolveProjectReferences) insists on compiling ALL projects referenced. I have found comments in the WIX targets (ResolveProjectReferences) suggesting that if building through the IDE just gather build outputs (i.e. it assumes all projects have already been built), however if being built directly from the command line (and TeamBuild) build all referenced projects. Therefore my basic question is there a way in which I can suppress the compilation of ProjectA when running within TeamBuild. I have looked at things like DoNotHarvest etc but to no avail. This behavior has only arisen since the introduction of the Wix2010 targets. Therefore I suspect it may be a subtle change to ResolveProjectReferences (e.g. I have spotted a check for $(BuildingSolutionFile) that no longer exist in the 2010 version) but do not want modify that file for obvious reasons. I know how to achieve the requirement mentioned above without using a project reference to ProjectA, but that would involve some rework when migrating to VS2010.Therefore any guidance on the specific issue described above would be greatly appreciated. - Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500. Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 327000. Telephone: 0870 600 5000 Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone: 0131 225 4555. Cheltenham & Gloucester plc. Registered Office: Barnett Way, Gloucester GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452 372372. Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and Cheltenham & Gloucester plc are authorised and regulated by the Financial Services Authority. Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester Savings is a division of Lloyds TSB Bank plc. HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 218813. Telephone: 0870 600 5000 Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 95000. Telephone: 0131 225 4555 This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-mail in error, please notify the sender and delete it (including any attachments) immediately. You must not copy, distribute, disclose or use any of the information in it or any attachments. Telephone calls may be monitored or recorded. == -- 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] IIS Certificate Trust List
I am looking for some guidance on IIS configuration. I want to create a Certificate Trust List and then enable it for the website that I am installing, is this possible in Wix? - 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. == -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64-bit Questions
Do you also know how the ProcessorArchitecture attribute of the file element is actually used during deployment. _ From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 17 October 2007 06:07 To: Stone, Darren (HBOS FS, IT , DDC Infrastructure) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64-bit Questions [EMAIL PROTECTED] wrote: * I have seen that you can mark a Component as 64 bit (i.e. Win64='yes'). However I am not 100% clear on whether this is neccessary for .Net Assemblies as they are effectively only copied to my deployment directory. If a component is marked as 32-bit, MSI won't put it into 64-bit portions of the file system or registry. * I have also seen posts that state that 32-Bit and 64-Bit components should be deployed to different directories (I have 2 assemblies that need to be 32-Bit and several thousand that should run as 64-Bit!). Is this a neccessity or just good practice, and what is the reason for it. That's more of a Windows thing, keeping 32-bit and 64-bit portions of the system separate. -- sig://boB http://joyofsetup.com/ . 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. == - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] 64-bit Questions
I am attempting to package a .Net 2.0 application for deployment to a server running the 64-Bit version of Windows 2003. Having never attempted a 64 Bit deployment before I would appreciate feedback on the following: * I have seen that you can mark a Component as 64 bit (i.e. Win64='yes'). However I am not 100% clear on whether this is neccessary for .Net Assemblies as they are effectively only copied to my deployment directory. * I have also seen posts that state that 32-Bit and 64-Bit components should be deployed to different directories (I have 2 assemblies that need to be 32-Bit and several thousand that should run as 64-Bit!). Is this a neccessity or just good practice, and what is the reason for it. * Does anybody know of any issues in deploying Windows Services to a 64-Bit platform. It is probably worth mentioning that any deployments will be full, i.e. no patching or upgrades. Also I want the app to always run 64-Bit rather than under WOW. I would really appreciate any feedback on this. cheers . -- 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. == - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Launch Condition based on Feature Selected
I am doing a registry search to ensure that a certain key is present before progressing with the installation. However this key is only required for 1 of my 3 features. Therefore if feature X is selected then my install should only progress if the registry key is present, for example It sounds like it should be possible but I don't know how to represent the <<>> bit. I am selecting features by passing them to MSIExec using the ADDLOCAL param i.e ADDLOCAL=X Any help greatly appreciated as always. . 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. == - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IIS Shared Website and AppPool
I have a situation where I have a number of virtual directories that need deploying within a single Website and AppPool (using Wix V2) The complication is that I need to have a separate MSI for each virtual directory and therefore the Website and AppPool may or may not exist at install time. Therefore I need each MSI to install the Website and AppPool if they are not present and only delete them if no other virtual directories exists. I have played with the ConfigureIfExists option on the website and whilst this is the install behaviour I desire, the website is always deleted when uninstalling. Additionally there does not appear to be any similar attribute for WebAppPool. Is there a way to acheive the behaviour I desire without resorting to custom code? I initially though about creating a Merge Module for the creation of the WebSite and AppPool but so far have been unsuccessful in this approach. Any help on this 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. == - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problem with Patch Creation
I am attempting to build a patch that is uninstallable but am not having any joy so far. I am using Wix version 2 and my patch file is as follows: http://schemas.microsoft.com/wix/2003/01/wi> http://schemas.microsoft.com/wix/2003/01/wi";> In creating the patch I have ensured the following: --Specified AllowRemoval to be yes. --I have Installer version 3 on my machine. --Both MSI's from which the patch was built have InstallerVersion="300" specified. --The patch only updates two existing files, it does not change the structure of the package. The actual creation and installation of the patch works fine. However once installed it says it is not removable. I have also looked in ORCA and there is no sign of a MsiPatchMetadata table. This is my first attempt at patching and therefore may be missing something. Any advice would be most 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Creation of Virtual Directory within existing Website
I found the following comment in the Wix custom action code (V2) when it's looking for the relevant web site // TODO: fix this to look for the description as well (or is address enough)? Therefore it uses the first match it finds based on IP and Port (and header if your using one). Seems to me that it would be better to include description to allow more exact matching. _ From: Aaron Shurts [mailto:[EMAIL PROTECTED] Sent: 05 June 2007 20:48 To: Stone, Darren (HBOS FS, IT , DDC Infrastructure) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Creation of Virtual Directory within existing Website I have done many experiments trying to get this to work, but keep coming up with the same problems. I tried creating a dummy component with the website info and referencing that, same result. I tried actually nesting underneath a component with the website settings and the ConfigureIfExists flag set to 'no' and still same result. No matter what I do, the virtual directory always ends up under the default stopped website, rather than my started website. It looks like I might have to whip up a quick VBScript custom action in the mean time to get this accomplished. I'll go ahead and create a bug for this. Regards, //aj On 6/5/07, Aaron Shurts <[EMAIL PROTECTED]> wrote: I am having the same problem, so if anyone has a solution, please let us know what it might be. Regards, //aj On 6/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The scenario is that my target machine has two websites as follows: Default Web Site, IP Address - All Unassigned, Port - 80, Status (STOPPED) My Website, IP Address - All Unassigned, Port - 80, Status (STARTED) Therefore they are identical but the default site is stopped (I know that the default web site should probably be deleted but this is not within my control). I am attempting to create a new virtual directory within My Website and therefore I reference it as follows: The problem I am having is that my virtual is always created within the default web site. If I change the Port or IP Address of the default web site then it is created within my website as expected (but this is not something I can do in production). Therefore the behaviour seems to be that the website lookup is done using IP Address and Port only (i.e. Description is ignored), and that the first IIS web site found that matches will be used (Default Web Site in this case as it is instance 1). Is there a way to do a more exact match to ensure that my virtual is always created within the correct website. As always any feedback would be most appreciated. One thing I should mention here is that I have only tested this on XP (using IISAdmin.Net to replicate sites), I have not yet tested on 2003 . 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users . -- 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Creation of Virtual Directory within existing Website
The scenario is that my target machine has two websites as follows: Default Web Site, IP Address - All Unassigned, Port - 80, Status (STOPPED) My Website, IP Address - All Unassigned, Port - 80, Status (STARTED) Therefore they are identical but the default site is stopped (I know that the default web site should probably be deleted but this is not within my control). I am attempting to create a new virtual directory within My Website and therefore I reference it as follows: The problem I am having is that my virtual is always created within the default web site. If I change the Port or IP Address of the default web site then it is created within my website as expected (but this is not something I can do in production). Therefore the behaviour seems to be that the website lookup is done using IP Address and Port only (i.e. Description is ignored), and that the first IIS web site found that matches will be used (Default Web Site in this case as it is instance 1). Is there a way to do a more exact match to ensure that my virtual is always created within the correct website. As always any feedback would be most appreciated. One thing I should mention here is that I have only tested this on XP (using IISAdmin.Net to replicate sites), I have not yet tested on 2003 . 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Path to Binary
I have a deferred custom action that works from a configuration file on disk. At present I am installing the configuration file along with all my other files and passing the file path to the custom action (from where it is read in). I currently haven't got scope to change the custom action. However I was wondering whether it is possible to embed the config file in the binary table. I'm not sure how this stuff works, do the binary elements automatically get written to some temp location by the installer ? and therefore could I reference the path to the temp file in a propery, or would I need to write the temp file as part of another custom action and then set the property value (which I think is probably the case) ? Ideally I would like to pass the path as follows: What are the options for achieving this? . 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Wix Version
Some general advice required. I have an application being delivered in November that will use Wix for packaging. This application will be the first to use it but it will be rolled out to other applications througout 2008. My query then is what version of Wix people would recommend I use (i.e. how feature complete and stable is version 3.0). I would obviously prefer to use V3 but if this is likely to be quite buggy until end 2008 for example, then it would probably be safer to stick with version 2. Any feedback of people experience would be 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Immediate Custom Action - Reading Config File
Is there a way to access an xml file (packaged within the msi) from a custom action that is executed immediately. I am trying to see if it is possible to update Properties from values within a config file. Therefore a deferred custom action is not appropriate as I will not have full access to the properties, but I want to package the config file within the installer package and therefore a packaged file will not be available on disk at the point that an immediate custom action is executed. In a nutshell I understand that any files will not be on the file system when an immediate custom action is executed, but is there a way of storing (and accessing) the file some other way? Any feedback on this would be most 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. == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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> 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 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=lnk&kid=120709&bid=263057&dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Rollback of Custom Action
I am new to WIX, and installations in general, and I am currently attempting to create a custom action that calls a managed installer class. I am aware that using managed custom actions generally appears to be frowned upon and I am looking at options to remove the need for them in my scenario. However, my first step is to incorporate our existing installer classes and prove that this will work if neccessary. I have found various blogs that contain examples and have had no problems in calling the custom actions for install, commit and uninstall. My problem is with rollback, in that if an exception is thrown from my installer class the custom action created to handle the rollback is not called, even though the install is not successful. My custom actions are defined as follows:$MainComponent>2Custom> $MainComponent>2Custom> $MainComponent=2Custom> $MainComponent=2Custom> $MainComponent>2Custom> $MainComponent>2Custom> $MainComponent>2Custom> $MainComponent>2Custom> InstallExecuteSequence> I would appreciate any help in trying to understand what I am doing wrong. Thanks -- -- 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=lnk&kid=120709&bid=263057&dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users