Re: [WiX-users] Icon on util:InternetShortcut

2010-05-06 Thread Sebastian Brand
You can create a .url file yourself (INI format) or put the URL in the Target of a classic element. See the comments at http://www.joyofsetup.com/2008/03/18/new-wix-feature-internet-shortcuts/ Best regards, Sebastian Brand www.instyler.com | blog.sebastianbrand.com -Original Message-

Re: [WiX-users] Problem with AppPool and VDir during update

2010-05-06 Thread Sebastian Brand
Hi, Where is your RemoveExistingProducts scheduled? I assume the IIS stuff doesn't handle upgrades well depending on how the existing IIS app/vdir is removed. If you are using Wix 3.5, check out the element, otherwise see http://jpassing.com/2007/06/16/where-to-place-removeexistingproducts-in-a

Re: [WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Sebastian Brand
Try to remove the custom action, the WIXUI_INSTALLDIR is an indirect property that should just contain the name of the property that shall contain the path, not the path itself. Best regards, Sebastian Brand www.instyler.com | blog.sebastianbrand.com -Original Message- From: Andy.Kr

Re: [WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Andy.Kruger
... . And my launch condition syntax is fine. anything I'm missing here? - Andy MSI Develop

Re: [WiX-users] Problem with AppPool and VDir during update

2010-05-06 Thread RoyY
I am facing the same problem now, and it seems to be a common bug? I also hope to see the answer in this post -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Problem-with-AppPool-and-VDir-during-update-tp5014897p5017471.html Sent from the wix-user

Re: [WiX-users] IIS error during Repair Installation?

2010-05-06 Thread RoyY
Thanks for your recommendation, I tried to set ConfigureIfExists for , while during repair, I still got error while configuring existing website. Is this a common issue for WIX or I was doing something wrong in my code? btw, I am working on 64bit server of Win2008 Here is the new Logs: Action end

Re: [WiX-users] How to retain feature selection during major upgrade?

2010-05-06 Thread Matt Johnson
That looks like the problem. Looks like I can simply specify UpgradeVersion/@MigrateFeatures="yes" and wix will do the rest. Thanks for pointing me in the right direction! Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.tim

Re: [WiX-users] How to retain feature selection during major upgrade?

2010-05-06 Thread Michael Osmond
Matt Do you have the action MigrateFeatureStates in your Install and UI execution sequences. Michael -Original Message- From: Matt Johnson [mailto:ma...@timeamerica.com] Sent: Friday, 7 May 2010 6:54 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Ho

[WiX-users] Icon on util:InternetShortcut

2010-05-06 Thread Matt Johnson
There is no Icon property on util:InternetShortcut. Is there a workaround to change the icon? I want the url shortcuts to the web-app I'm installing to have my applicaton's icon instead of internet explorer. Thanks, Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread John Cooper (Volt)
No, like a lot of ASP.NET config files I've seen, it's part XHTML, part JavaScript, and part XML. -- John M. Cooper Volt at Microsoft -Original Message- From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] Sent: Thursday, May 06, 2010 3:44 PM To: General discussion for Windows In

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread Mike Carlson (DEV DIV)
Is the file you're trying to modify valid XML? I'd really avoid writing your own CA, if at all possible. They're notorious for inadvertently ruining your MSI's support for rollback, uninstall, and/or various patch scenarios. -Original Message- From: John Cooper (Volt) [mailto:a-jc...@mi

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread John Cooper (Volt)
Using the boxed File Id's helped a lot. It appears Default.aspx is a lost cause and I'll need to craft a CA to do some substitutions in the file. Anyone have something like this? As advertised, web.config seems to work fine. -- John M. Cooper Volt at Microsoft -Original Message- From

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread Matt Johnson
Also, you should make sure the file you're editing is parsable as XML. My guess is that an aspx file is not. You would be better off moving the item you're trying to change to a setting in the web.config. You can definately edit the web.config as xml. Matt Johnson MCPD, MCTS, MCSD, MCDBA D

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread John Cooper (Volt)
The Default.aspx lacked an line, but both Web.config files have it and are treated in exactly the same way as the original Default.aspx. -- John M. Cooper Volt at Microsoft -Original Message- From: John Cooper (Volt) [mailto:a-jc...@microsoft.com] Sent: Thursday, May 06, 2010 2:32 PM

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread Matt Johnson
Where you have: File="[INSTALLLOCATION][ProductName]\Default.aspx" Try this instead: File="[#FDEFAULTASPX]" The [#filekey] syntax will resolve to the correct location. Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.tim

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread John Cooper (Volt)
Yes, it is definitely possible. The Default.aspx file in an ASP.NET configuration file. The two Web.config files are both for IIS7. I'll check. -- John M. Cooper Volt at Microsoft -Original Message- From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] Sent: Thursday, May 06, 2

Re: [WiX-users] db install thoughts

2010-05-06 Thread dB .
We use the wix extensions from http://msiext.codeplex.com, including for UI that allows you to configure the target database connection. The current beta of MsiExt supports SQL parsing, so you get execution with GO statements (or other separator if you're trying to do Oracle for example). It sup

Re: [WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread Mike Carlson (DEV DIV)
Is it possible your XML file has an inaccurate header? I've seen people before with an XML header like this: But their file isn't actually saved in UTF-8 format. This mismatch will cause MSXML (which XmlFile uses) to fail on that file, everytime - I don't remember with what error code. Anot

Re: [WiX-users] Best way to 'fix' string overflow in ExeCommand for CAs

2010-05-06 Thread Matt Johnson
You can use other custom actions to concatenate several properties: MyWholeString will end up being [PropA][PropB][PropC][PropD][PropE][PropF][ProG][PropH][PropI] You can do this as little or as much as needed. Each of the three strings in this example can hold up to 255

Re: [WiX-users] db install thoughts

2010-05-06 Thread Matt Johnson
I used to use Neil's approach - executing sqlcmd from CAQuietExec. However, I quickly found that there's one major drawback - you can't control the installer's progress bar inside a sqlcmd script. Many of my db scripts are quite long, so we need some interaction with the user or they'll think

[WiX-users] How to retain feature selection during major upgrade?

2010-05-06 Thread Matt Johnson
I've followed the article in the Wix docs titled "How To: Implement a Major Upgrade In Your Installer". Everything works fine, except when I perform the major upgrade, it uses the default feature selection rather than selecting the features that were installed with the prior version. So I have

Re: [WiX-users] db install thoughts

2010-05-06 Thread Neil Sleightholm
This is what I do: http://neilsleightholm.blogspot.com/2008/08/executing-sqlcmd-from-wix.ht ml Neil -Original Message- From: lewisv [mailto:le...@nitorco.com] Sent: 06 May 2010 21:25 To: wix-users@lists.sourceforge.net Subject: [WiX-users] db install thoughts I am working on a install

[WiX-users] db install thoughts

2010-05-06 Thread lewisv
I am working on a install app that needs to install/update a db. The system will need to install/upgrade the database. The first time i will need to create db (with one or more sql files), Each time after that I will need to issue one or more scripts based on the current version of the db. I

[WiX-users] XMLFile not Finding file to Edit Even Though File is Verified There

2010-05-06 Thread John Cooper (Volt)
Here's the portion of the WiX: Here's a portion of the error log: Action start 11:42:22: SchedXmlFile. Action start 11:42:22: ExecXmlFile. Action ended 11:42:22: ExecXmlFile. Return value 1. Action ended 11:42:22: SchedXmlFile. Return value 1. Acti

[WiX-users] Best way to 'fix' string overflow in ExeCommand for CAs

2010-05-06 Thread Navid Azimi-Garakani
I have a custom action that ends up calling an executable with a large number of parameters (specifically, the parameters contain fully qualified paths). This naturally ends up causing the ExeCommand to exceeds its length limit. What is the best (or recommended) way of handling the scenario

Re: [WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Andy.Kruger
... . And my launch condition syntax is fine. Let me know if you need anything else - Andy

[WiX-users] Problem with AppPool and VDir during update

2010-05-06 Thread Warloki
Hello, I'm using the latest build of the WiX 3.5.1630.0 and I have a problem while attempt to update currently installed product. I don't know how to avoid this that's why I here :) I'm trying to update my product and run in command line: msiexec /i setupproject.msi REINSTALL=ALL REINSTALLMODE=

Re: [WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Pally Sandher
Post your Directory Tree where INSTALLDIR is used (not the entire thing just a decent snippet) & the Property element you use for WIXUI_INSTALLDIR. Your RegistrySearch looks fine but the Custom Action may not be necessary (also you need a capital C in LaunchConditions). Palbinder Sandher Softwar

Re: [WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Andy.Kruger
Okie I'm clear about the first part, This is what I'm doing to retain the old INSTALLDIR But this doesn't work. Upgrade always installs to the default path. any ideas?? - Andy MSI Developer Schneider Electric -- View this message in context: http://windows-insta

Re: [WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Pally Sandher
Condition the InstallDirDlg Events with "NOT Installed" & it will only show during the first install, not upgrades. See http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html if you need help modifying the stock WiX UI sets. As long as you use a RegistrySearch to set INSTALLDIR ap

[WiX-users] [Wix-users]Patch and Services

2010-05-06 Thread Danny
Hi all, I am creating a patch basing on previous released version msi and new version one, both include a service's install and start codes, The problem is the patch I created uninstalled previous services and installed the service again, even though the service file keep same with previous rel

[WiX-users] Hide InstallDirDlg during upgrade

2010-05-06 Thread Andy.Kruger
I'm trying to hide installation path selection dialog during an upgrade and install to the previous INSTALLDIR path stored in the registry. But it always installs to the default path. Is it a must to show InstallDirDlg always part of upgrade?? - Andy MSI Developer Schneider Electric -- Vi

Re: [WiX-users] managed custom action cannot access target directory

2010-05-06 Thread dB .
Total shot in the dark, but are you declaring the deferred CA Impersonate="No"? Otherwise you're running as the calling user, so maybe it's something to do with CAS. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Adam Langley [mailto:alang...@winscribe.com]

Re: [WiX-users] Read file content from CA

2010-05-06 Thread dB .
It could make an interesting custom action. Microsoft CAB supports extracting files from any source (disk, stream, memory, etc.). Elmue's cablib (http://www.codeproject.com/KB/files/CABCompressExtract.aspx) knows how to deal with all of it, for example how to extract single files from a CAB em

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Yan Sklyarenko
If it is possible in your case, I would change the build script to dump these files to the custom MSI table(s) and let the CA read the table(s) to pull necessary data and alter the behavior of the installation. Thus, you won't need to perform heavy operations in immediate CA. And moreover, you g

Re: [WiX-users] .NET Custom Action fails intermittently on some machines

2010-05-06 Thread Michael Bednarek
Thanks for your reply Dov. I am using WiX 3.0.5419.0. My VM has 1.5GB RAM and is otherwise idle, so I hope that it's not a memory issue! I have been investigating this further and have been able to reproduce the issue with a very simple installer: http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Niklas Söderberg
Hi, Yeah, I considered that option as well. Felt like duplication though (it is actually 8-10 files I might need to read, albeit small ones), and I wasn't entirely comfortable with that. Perhaps I will choose that solution after all, now that I've explored the alternative. Thanks for you opinion!

Re: [WiX-users] Show help file during installation

2010-05-06 Thread Peter Shirtcliffe
If you are happy to build your installer with the help file not compressed into a cab, you can use the OriginalDatabase property to find the file and use the WixShellExec custom action (documented in the wix3 help) to run it. -Original Message- From: Sebastian Brand [mailto:sebast...@inst

Re: [WiX-users] Show help file during installation

2010-05-06 Thread Sebastian Brand
A Custom Action must point to a DLL/EXE/VBScript or Jscript. If the file must be in the MSI itself you cannot run it using a VBScript/DLL/EXE Custom action because the .chm is not extracted yet. You could wrap the .CHM in a small EXE and run that then... Best regards, Sebastian Brand www.instyl

Re: [WiX-users] Read file content from CA

2010-05-06 Thread David Watson
Hi, Couldn't you just put the file in the binary table as well as install it, may be simpler overall than your approach. Dave -Original Message- From: Niklas Söderberg [mailto:niklas.soderb...@gmail.com] Sent: 06 May 2010 08:40 To: General discussion for Windows Installer XML toolset. S

Re: [WiX-users] IIS error during Repair Installation?

2010-05-06 Thread Houssam Hamdan
I recommend you to set the ConfigureIfExists="no" attribute for tag then update the website settings using C#/C++ custom action. Regards, Houssam Hamdan -Original Message- From: Yan, Lu (Shanghai) [mailto:l...@husky.ca] Sent: Thursday, May 06, 2010 5:31 AM To: wix-users@lists.sourceforg

[WiX-users] Show help file during installation

2010-05-06 Thread Goran Brcanski
Is it possible to run .chm file during installation? I added one checkbox, and if it's checked custom action is called which should show install guide. I tried this: Checkbox state is checked on Next button click: SHOW_INSTALL_GUIDE = "1" It works if I define executable file in Binary ele

Re: [WiX-users] Read file content from CA

2010-05-06 Thread Niklas Söderberg
Thanks for your suggestions, but I guess I didn't emphasize enough that I need to read the file in an _immediate_ custom action, that is, I need to read it from the installation package before the file gets installed. I guess there's no easy way to do it, so the way I solved it was to temporarily e