Re: [WiX-users] Change text file line-endings on install

2011-02-08 Thread John Daintree
Thanks Peter, that's what I thought. /john -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 07 February 2011 15:12 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Change text file line-endings on install Not built-in. Just

[WiX-users] Disable ExitDlg

2011-02-08 Thread Odamteng, Abraham
I am making an installer which offers two types of installation, Easy-Install and Customer-Install. I wish to disable the ExitDialog for the Easy-Install but keep it for the Custom-Install. How can I achieve this. Thanks ---

Re: [WiX-users] Disable ExitDlg

2011-02-08 Thread Pally Sandher
http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm & http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html 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

Re: [WiX-users] Registering Log Parser DLL with Heat

2011-02-08 Thread Pally Sandher
2 things could potentially cause an issue of that ilk come to mind. 1 - If you've authored a per-user package & are trying to install per-machine registry entries as below & the account you're testing your installs with doesn't have administrator permissions. I would however expect that to throw w

Re: [WiX-users] Assistance using XmlConfig (assuming that is the correct hammer for this issue)

2011-02-08 Thread Michael_A
here is how I do something similar. http://[SQLSERVERNAME]:8080"/> hope this helps -Michael -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Assistance-using-XmlConfig-assuming-that-is-the-correct-hammer-for-this-issue-tp6001824p6003813.htm

[WiX-users] How to delete user.config file?

2011-02-08 Thread Manolache Adrian
I'm using c# and wix and i'm trying to delete the user.config file specific to my application, everytime the application is installed. How can i accomplish this? -- The ultimate all-in-one performance toolkit: In

[WiX-users] ReserveCost Problem

2011-02-08 Thread Neil Sleightholm
I have an install that has 2 install paths, the application and the data. I am using a modified WixUI_InstallDir based UI and have created a replacement InstallDirDlg.wxs that supports both install paths. For the data path I want reserve and extra 5Gb to ensure there is enough disk space once the a

Re: [WiX-users] How to delete user.config file?

2011-02-08 Thread Peter Shirtcliffe
Make a component with -Original Message- From: Manolache Adrian [mailto:prog_...@yahoo.com] Sent: 08 February 2011 13:09 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to delete user.config file? I'm using c# and wix and i'm trying to delete the user.config file specific

[WiX-users] MSP install issue

2011-02-08 Thread Arun Kumar
Hi All, I have created an MSP that is supposed to update an binary of older version with newer version. But when I install this MSP it does not update the binary. Instead when I delete binary from INSTALLDIR and run the MSP, newer version binary gets installed. So the issue is why my MSP is n

Re: [WiX-users] How to delete user.config file?

2011-02-08 Thread Manolache Adrian
Thanks! The only thing is i don't know how to find the right path for the user.config file. Can one point me out in the right direction? From: Peter Shirtcliffe To: General discussion for Windows Installer XML toolset. Sent: Tue, February 8, 2011 3:21:39 PM S

Re: [WiX-users] MSP install issue

2011-02-08 Thread Peter Shirtcliffe
I usually see this when someone has not updated the file version in the replacement file. The file versioning rules might help. http://msdn.microsoft.com/en-us/library/aa368599%28VS.85%29.aspx You should also look in the log for "Won't patch" or " Won't Overwrite" -Original Message- Fr

Re: [WiX-users] MSP install issue

2011-02-08 Thread Pally Sandher
Check A Verbose Log. 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 ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Buildin

Re: [WiX-users] How to delete user.config file?

2011-02-08 Thread Peter Shirtcliffe
Your installers should always store the location that they install to. Search for ARPINSTALLLOCATION in this mailing list for instructions on how to do that. In your upgrade installers, you can add a registrysearch to retrieve ARPINSTALLLOCATION into a property and that tells you where to start yo

Re: [WiX-users] How to delete user.config file?

2011-02-08 Thread Rob Mensching
What about [#FileId]? On Tue, Feb 8, 2011 at 5:40 AM, Peter Shirtcliffe wrote: > Your installers should always store the location that they install to. > Search > for ARPINSTALLLOCATION in this mailing list for instructions on how to do > that. > > In your upgrade installers, you can add a regist

Re: [WiX-users] How to delete user.config file?

2011-02-08 Thread Manolache Adrian
Thanks for the prompt reply! Actually the user.config file i'm pursuing is not created by me, but by my application indirectly. It is located at the following location C:\Documents and Settings\UserName\Local Settings\Application Data\AppName\AppName.exe_Url_nwloh0orpe4wmpsnqif2ub50jv0gpgwy\1.0

Re: [WiX-users] How to delete user.config file?

2011-02-08 Thread Peter Shirtcliffe
The AppDataFolder and LocalAppDataFolder directory properties will get you partway. You'll have to work out yourself how to calculate the rest of the path. If there are any unique files in that directory, you could use a FileSearch element. Maybe you could get the application to write its the pat

[WiX-users] Are there any known problems with XPath expressions in custom action?

2011-02-08 Thread Jamie Thomson
?Hi all, I am trying to use custom action to replace an attribute value in an XML file. I have used an external tool to validate that my XPath query is correct but I get an error: Failed to find node "/Project/DeploymentModelSpecificContent/Manifest/SSIS:Project/SSIS:Packages/SSIS:Package[@SSI

Re: [WiX-users] Component GUIDs on 32/64-bit WXS File

2011-02-08 Thread Quinton Tormanen
Since we don't share these components with any other installers at this point, and we only do major updates (no minor updates or patches), would there be any harm in us taking this opportunity to switch all 12 component GUIDs to '*'? If there are scenarios where auto-guid isn't recommended, please

[WiX-users] Incorrect ICE81 when using PackageCertificates

2011-02-08 Thread Mike Edenfield
I'm building a chained installer (via the EmbeddedChainer element) that chains a series of signed MSI packages together. As recommended by the MSI documentation, I've added the signing certificate to my parent MSI, like so: When I build my WiX package (WiX 3.0) I'm getting a warning for ICE

[WiX-users] IIS Sites and Component Rules

2011-02-08 Thread Pierson Lee (PIE)
I have an application that contains 5 components. Each component installs a Virtual Directory onto a website and each MSI has the website component to install if it doesn't exist. These website components all share a GUID. My problem is that on uninstall, it doesn't seem to check that there are

Re: [WiX-users] Are there any known problems with XPath expressions in custom action?

2011-02-08 Thread Pierson Lee (PIE)
I personally have had better success with the XmlConfig tag to do what you are doing. I would verify that the case and property value is correct. It is loking for SSIS:Name= "..\SSIS\GlobalExecutor.dtsx" in the SSIS:Package element. Can you copy that block from your xml file you are attemptin

Re: [WiX-users] Are there any known problems with XPath expressions in custom action?

2011-02-08 Thread Alexander Shevchuk (Volt)
Try to set SelectionLanguage attribute to XPath. >From the doc on XmlFile: " Specify whether the DOM object should use XPath language or the old XSLPattern language (*default*) as the query language." Alex -Original Message- From: Jamie Thomson [mailto:ja...@jamie-thomson.net] Sent:

Re: [WiX-users] WriteIIS7ConfigChanges - Stuck with 1603 error codes???

2011-02-08 Thread Pierson Lee (PIE)
If the VDir already exists, wix 3.5 will throw this error. Make sure the Virtual Directory you are creating doesn't already exist. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, February 07, 2011 8:31 PM To: General discussion for Windows Installer XM

Re: [WiX-users] Assistance using XmlConfig (assuming that is the correct hammer for this issue)

2011-02-08 Thread Pierson Lee (PIE)
All you do is you add the 'value' tag to the end of your elementpath and then omit the Name= property and it will make it in as innerText. -Original Message- From: Gregg Swanson [mailto:gregg.swan...@microsoft.com] Sent: Monday, February 07, 2011 1:10 PM To: wix-users@lists.sourceforge

Re: [WiX-users] Are there any known problems with XPath expressions in custom action?

2011-02-08 Thread Pierson Lee (PIE)
Actually I think I know what it is. You need to escape your \ with another \ in your @SSIS:Name= section so it looks like [\[]@SSIS:Name='..\\SSIS\\GlobalExecutor.dtsx'[\]] -Original Message- From: Pierson Lee (PIE) [mailto:pierson@microsoft.com] Sent: Tuesday, February 08, 2011 1

Re: [WiX-users] Are there any known problems with XPath expressions in custom action?

2011-02-08 Thread Jamie Thomson
?Hi Pierson, I thought about that but then, consider the error message: >Failed to find node >"/Project/DeploymentModelSpecificContent/Manifest/SSIS:Project/SSIS:Packages/SSIS:Package[@SSIS:Name='..\SSIS\GlobalExecutor.dtsx']" That's the XPath expression *after* it has escaped the square bracket

[WiX-users] Sequence no is not retained in MSI from MSM

2011-02-08 Thread wix user
Hi All, we are using merge module in MSI. We have custom logic to retain sequence no in the file table from prior versions and is correctly working and creating MSM. But after we create the MSI with this MSM the file table looks different. Sequencing is not the same though I've only one mergemodul

[WiX-users] How do i find a WiX created Patch from c# source code

2011-02-08 Thread Uwe Ernst
Hello, i've created am *.msp patch file to update one or two files in my installer project. The execution of the patch succeedes and i can see an new entry in the software update list under windows7. Now i want to search the installed patch via an application written in C#. I've tried to search t

Re: [WiX-users] Are there any known problems with XPath expressions in custom action?

2011-02-08 Thread Pierson Lee (PIE)
I see the issue now. So your node is looking for SSIS:Name = '..\SSIS\GlobalExecutor.dtsx' where your xml file has SSIS:Name = 'Package.dtsx' . it uses the ElementPath to find the exact node you want to change. Try this: -Original Message- From: Jamie Thomson [mailto:ja...@jamie-th

Re: [WiX-users] Are there any known problems with XPathexpressions in custom action?

2011-02-08 Thread Jamie Thomson
?Sorry Pierson...that XML Snippet was slightly wrong (I'm not at home and haven't got access to the original file so had to use a different file and forgot to edit it). Here's the proper snippet (note significant difference to what I posted before): http://www.w3.org/2001/XMLSchema-instance";

Re: [WiX-users] Are there any known problems with XPathexpressions in custom action?

2011-02-08 Thread Pierson Lee (PIE)
Your Xpath is very wrong then. I'll send you the updated path based on what you sent when I get back to my computer. On Feb 8, 2011, at 12:56, "Jamie Thomson" wrote: > ?Sorry Pierson...that XML Snippet was slightly wrong (I'm not at home and > haven't got access to the original file so had t

Re: [WiX-users] MSP install issue

2011-02-08 Thread robert_ortega
Hello. I'm also working with Arun on this issue. Looking at the log file for the patch I do find the following entries: MSI (c) (FC:1C) [11:15:22:615]: SELMGR: ComponentId '{F048496A-AC80-440E-B376-BF490FE5BED0}' is registered to feature 'Complete', but is not present in the Component table.

[WiX-users] Bootstrapper

2011-02-08 Thread Wesley Witt
In the WIX 3.5 CHM file where you document bootstrappers you have the following explanation. My question is how do I do this for .NET 4.0 & VS2010? I have the Windows 7 SDK installed but I do not see the Bootstrapper directory that is referenced below. Any help would be great. Step 3: Add t

Re: [WiX-users] Are there any known problems with XPathexpressions in custom action?

2011-02-08 Thread Pierson Lee (PIE)
After working offline with Jamie, we have found the source of the problem. It seems that in the search criteria for SSIS:Name, the '\' character is not liked. I have go through and tried escaping it with [\\] and it doesn't seem to help. If I remove the '\' characters it works fine. Where do I

Re: [WiX-users] Component GUIDs on 32/64-bit WXS File

2011-02-08 Thread Rob Mensching
Actually, sounds like a good time to switch to auto-guid. On Tue, Feb 8, 2011 at 8:02 AM, Quinton Tormanen wrote: > Since we don't share these components with any other installers at this > point, and we only do major updates (no minor updates or patches), would > there be any harm in us taking t

Re: [WiX-users] IIS Sites and Component Rules

2011-02-08 Thread Rob Mensching
To be clear, do you have multiple Components in the same MSI with the same Component/@Guid? If so, then that sounds bad and I don't know what behavior the Windows Installer would have (but it won't be defined). On Tue, Feb 8, 2011 at 11:13 AM, Pierson Lee (PIE) < pierson@microsoft.com> wrote: