[WiX-users] and question

2009-10-12 Thread Dave Kolb
I use and and noticed that if my service failed to start [a bug in my code], then the install failed. Is there a means to try to start the service and have it install even if it fails to start? P.S. Also, fwiw, I noticed that if I used two elements, one for install and one for uninstall,

Re: [WiX-users] How do you copy a set of files to multiple places using Wix?

2009-10-12 Thread Dave Kolb
Repeat the component and file elements for each directory. -Original Message- From: Keith Nicholas [mailto:keith.nicho...@gmail.com] Sent: Monday, October 12, 2009 10:49 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How do you copy a set of files to multiple places using Wix

[WiX-users] Are shortcut names even useful anymore?

2009-10-12 Thread Dave Kolb
I don't use any shortcut names in my install and notice they are generated for me with some seemingly random letters. Are actual shortcut names even useful on any .NET 3.5 system which is the requirement for my application? I'm also OK with requiring an NTFS [non FAT32] disk though I'm not

Re: [WiX-users] Problems with deactivating a component while package removal

2009-10-12 Thread Blair
What happens is that XmlConfig runs after DuplicateFiles, long after RemoveFiles. There are not TWO CAs (one to run before DeleteFiles and another after DuplicateFiles when the will newly exist). There is code in the CA to ensure that deletes will not fail if the file is missing. It is only when yo

Re: [WiX-users] FirewallException support on Windows Server 2008 R2

2009-10-12 Thread Blair
What I am about to say is only a semi-informed opinion. I know the members of the core WiX team although I wasn't in attendance when this extension was added, I am confident in my conjectures given my experience in this space and in the way that the teams that tend to contribute to WiX tend to oper

Re: [WiX-users] How do you copy a set of files to multiple places using Wix?

2009-10-12 Thread Blair
Look at WiX's CopyFile element. In my example, I assume you have Blah, Txts, and Examples directories in your Directory Table... ... ... You will want to think about removing the copies as well. Use the RemoveFile element for that. -Original Message- From: Keith Nicholas [

[WiX-users] How do you copy a set of files to multiple places using Wix?

2009-10-12 Thread Keith Nicholas
I'm trying to make an install that puts a copy of the same files in multiple places... is there a simple way to do this? eg. if I wanted to put a.txt b.txt c.txt into all of the following directories :- .\Blah\ .\Txts\ .\Examples\ Regards, Keith --

Re: [WiX-users] CopyFile Question

2009-10-12 Thread ezimmerman
I figured this one out... Added it's own component and changed the Guid="", which means unmanaged. The files won't be uninstalled, but I didn't want them to be anyway. Thanks for the help! Eric Blair-2 wrote: > > Not sure. Are either MYINSTALLDIR or EXTRAFILESDIR in your Directory tabl

[WiX-users] FirewallException support on Windows Server 2008 R2

2009-10-12 Thread Will Wright
The documentation for the FirewallException element states that the Firewall Exception Element "Registers an exception for a program or a specific port and protocol in the Windows Firewall on Windows XP SP2, Windows Server 2003 SP1, and later". Should I infer from this description that the Wix

Re: [WiX-users] How to populate a list box in a msi dialog during runtime

2009-10-12 Thread Blair
>From your custom action processing/retrieving the values to go into your listbox, add rows to the ListBox table before the dialog showing the listbox is shown. You should use the "temporary row technique" mentioned in Bob's semi-custom action blog. -Original Message- From: Uma Harano [ma

[WiX-users] How to populate a list box in a msi dialog during runtime

2009-10-12 Thread Uma Harano
Hi, I need to populate a ListBox control in a MSI dialog at runtime. What is the best way to do this? Thanks! Uma- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you nee

Re: [WiX-users] CopyFile Question

2009-10-12 Thread Blair
Not sure. Are either MYINSTALLDIR or EXTRAFILESDIR in your Directory table (do you have any Directory elements where the Id attribute is one of these two strings)? -Original Message- From: ezimmerman [mailto:ezimmer...@wi.rr.com] Sent: Monday, October 12, 2009 3:28 PM To: wix-users@lists.

Re: [WiX-users] CopyFile Question

2009-10-12 Thread ezimmerman
Here is an except.. It kinda looks like it is looking for the Files directory... Is there anyway, I can do a CopyFiles with a conditon of "NOT Installed"? How / Where would I put that? "EXTRAFILESDIR" property is essentially set to a "Files" sub-directory of the Source directory of the origina

Re: [WiX-users] SqlString roleback options

2009-10-12 Thread Michael Osmond
Hi To do the rollback via the WIX Sql tools 1. You need to have a SqlScript or SqlString that has RollbackOnInstall (and maybe RollbackOnReinstall) set. This schedules the Sql to be run when rolling back. It needs to be scheduled prior to the SqlScript that adds the role. The TSQL for the r

Re: [WiX-users] Shortcut Names

2009-10-12 Thread ezimmerman
My client wants to customize the install to different customers. This includes default path, shortcut name and data files with defaults. I was able to change the default path via property (read from external text file in the install dir) I can do add/remove shortcuts through VBS, but I was hopin

Re: [WiX-users] silent install, command line, parameter and writting to registry or file

2009-10-12 Thread Blair
I am assuming you are talking about the installer command-line and not some executable's commandline your installer package will call. Yes, it is all very possible to do. Command-lines in Windows Installer are passed by setting properties on its commandline (e.g. MY1PARAM=some-value "MY2PARAM=som

[WiX-users] silent install, command line, parameter and writting to registry or file

2009-10-12 Thread Chris Jokinen
Hello All, I have a small project that is a windows service, but I need to make an installer to run via the command line and pass 3 parameters that will be used to set the configuration in the registry or the apps config file. I also need to run the generated msi from the command line for silen

Re: [WiX-users] Shortcut Names

2009-10-12 Thread Blair
Not in initial authoring, since Windows Installer doesn't support that. What are you trying to achieve? WiX does support using a localization string. And depending on what you are doing, there may be other ways as well. Also, what OS are you targeting? -Original Message- From: ezimmerman

Re: [WiX-users] CopyFile Question

2009-10-12 Thread Blair
In your verbose uninstall log, which path is it trying to access that it can't? -Original Message- From: ezimmerman [mailto:ezimmer...@wi.rr.com] Sent: Sunday, October 11, 2009 9:43 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CopyFile Question I want to copy files from t

Re: [WiX-users] SqlString roleback options

2009-10-12 Thread Blair
Two ideas come to mind, depending on if the (possibly) non-elevated windows user has query rights to the database. If those rights exist, use an immediate custom action to query the database to determine if the user exists (in that role). If they don't, you schedule the deferred actions (both the

Re: [WiX-users] Can we stop Major upgrade to uninstall some features?

2009-10-12 Thread Blair
It should, depending on how your product feature sets compare. You need to set @MigrateFeatures='yes' in your applicable UpgradeVersion element(s) to use it. However, if you show UI and the user deselects A & B (or if A & B don't exist in the upgrade) they will still be removed. If instead you do

Re: [WiX-users] Merge modules install

2009-10-12 Thread Blair
The reason had to do with inconsistent and sometimes erroneous SxS installations on XP, and the possibility of using the "improved" fusion code in Vista (the code that installs into the GAC) that still suffers from the same interface issues that forced the Windows Installer team to use commit actio

Re: [WiX-users] Please wait while the installerfinishes determiningyour disk space requirements, Error?!

2009-10-12 Thread Blair
You can also try experimenting with the actual value to reduce the performance impact to see if the mere fact of logging prevents the hang or not. The order of the letters doesn't matter, but that order is easier to remember for most of us. -Original Message- From: Wendell Joost [mailto:w

Re: [WiX-users] Please wait while the installerfinishes determiningyour disk space requirements, Error?!

2009-10-12 Thread Wendell Joost
http://msdn.microsoft.com/en-us/library/aa370322(VS.85).aspx Wendell On Mon, Oct 12, 2009 at 9:08 AM, Dominique Louis wrote: > Hi Blair, >  How does one set the MsiLogging property in WiX? Is this via a custom > action or PropertyRef of some kind? > > Dominique, > > -Original Message-

[WiX-users] UI and dialog questions

2009-10-12 Thread Igor Paniushkin
Hi All, I'm trying to implement msi UI in WIX and have some questions. My first question: I have three dialogs which have the same edit boxes (5 edit boxes), but values should end-up in different properties, what is the best approach? Should I create three separate dialogs which will be diffe

Re: [WiX-users] Please wait while the installerfinishes determiningyour disk space requirements, Error?!

2009-10-12 Thread Dominique Louis
Hi Blair, How does one set the MsiLogging property in WiX? Is this via a custom action or PropertyRef of some kind? Dominique, -Original Message- From: Blair [mailto:os...@live.com] Sent: 10 October 2009 21:36 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [Wi

Re: [WiX-users] listbox/view with check boxes

2009-10-12 Thread Dominique Louis
I also thought I needed the same thing for a pre-requisites screen, but then I thought of another solution. Use a ListView. The ListItem for ListView has a Bitmap attribute, so you could use that to display ticks, crosses or penguins. Then again, I don't know how much interactivity you wanted, but

[WiX-users] SqlString roleback options

2009-10-12 Thread d8xter
I need to add an existing user to an existing SQL database role. I am not creating the database or any tables. If the user is already a member of the role my script will do nothing. My current Wix implementation works fine except I don't appear to have rollback (remove the user from the role if

[WiX-users] Create and delete a security group

2009-10-12 Thread Alastair Smith
Hi everyone I need to create a security group (i.e., a user group) in our installer, and have it removed during uninstall. I've checked out the Util Extension, but there isn't the required behaviour available here (see http://wix.sourceforge.net/manual-wix3/util_xsd_group.htm). Is there a rec

[WiX-users] Can we stop Major upgrade to uninstall some features?

2009-10-12 Thread MYFLEX
My product is having 9 features. The scenario is as follows. I installed A,B,C,D Features in version 1 Now 2 is the Major upgrade. This time if I select C,D,E,F features for upgrade installation , The upgrade is removing all the files related to A,B,C,D and installing C,D,E,F feature files. But

[WiX-users] LOCALIZATION ISSUE

2009-10-12 Thread Deepin Jose
Hi All, I have a problem regarding localization in WIX. I am able to localize the installer UI but when I convert from one language to another, the text overlaps the UI. For e.g. If it's a button, the text of the button comes out of the button boundary. Is there any way to automatically res

[WiX-users] Cumbersome method of adding nodes and attributes to an xml file

2009-10-12 Thread Thomas Due
During my install I need to add some nodes to an xml file. These nodes will in addition have up to two attributes. The xml file itself is fairly simple with no really structure, just a single root and a bunch of children. Basically the xml file is structured like this: ...

Re: [WiX-users] Using resource strings but not localizing the MSI

2009-10-12 Thread Thomas Due
Ok, thanks. As I wrote it wasn't as much a problem as an annoyance :) /Thomas -Original Message- From: Blair [mailto:os...@live.com] Sent: 12. oktober 2009 09:37 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Using resource strings but not localizing

Re: [WiX-users] Showing error message from CA which is called through publish event DoAction

2009-10-12 Thread Peter Shirtcliffe
Bob, could you tell us why this is the case ? The SDK seems to imply that you can use UI dialogs as long as you respect the UILevel property http://msdn.microsoft.com/en-us/library/aa368281(VS.85).aspx and dont use it to report errors back to the installer. Is it just telling you how to achieve so

Re: [WiX-users] Conditionally disable PrepareDlg and UserExitDlg

2009-10-12 Thread Sebastian Brand (Instyler Software)
Hi, Have you checked (using ORCA) if the conditions are written to the MSI file? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Dan

Re: [WiX-users] Merge modules install

2009-10-12 Thread disclaimer disclaimer
Thanks Blair. I supposed such situation but I just didn't believe that this can be possible from Microsoft side. Best regards Andreo 2009/10/10 Blair > There is a difference in the VC 8 runtime library installation routines > between XP and Vista. > > In Vista, the Win32 SxS configurati

[WiX-users] SQL Server 2008 Express FILESTREAM scripts in Wix

2009-10-12 Thread Dan Vasilov
Hello, We're trying to manage the database schema from an Wix-based installer. There are many tables containing FILESTREAM columns. The database engine is properly configured and the SQL script to create the table runs fine from SQL Manager, however the installer reports an error:"failed

Re: [WiX-users] Custom action type 19 displays message over the "Welcome" dialog

2009-10-12 Thread Dan Vasilov
Thank you. Dan -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Sunday, October 11, 2009 2:46 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action type 19 displays message over the "Welcome" dialog Dan Vasilov wrote: >

[WiX-users] Conditionally disable PrepareDlg and UserExitDlg

2009-10-12 Thread Dan Vasilov
Hello, We would like to conditionally disable the PrepareDlg and UserExitDlg. The issue is the setup checks a set of conditions before displaying the UI. Currently it is displaying the error message over the PrepareDlg. If we do not refer the PrepareDlg in the UI, this dialog is not displayed, h

Re: [WiX-users] Using resource strings but not localizing the MSI

2009-10-12 Thread Blair
The one day that you do decide to localize it, you won't suddenly find your second language overwriting your MSI from the first. How all this works can be found in the wix.targets file (AssignCultures target): Determines the final list of culture groups to build based on either the Cultures p

Re: [WiX-users] LCID and language/culture fallback

2009-10-12 Thread Blair
You need to change the wixproj (or make a new one) when you add a new en-AU package, or the new en-AU package will never be created. Right? Now, regarding locales that the installer has to "support", what specifically are you referring to? If I build an installation package for the zh-TW culture,

Re: [WiX-users] How to modify a file during install using a CA

2009-10-12 Thread Blair
I can't take credit. Bob described the technique here: http://www.joyofsetup.com/2007/07/01/semi-custom-actions/ -Original Message- From: Thomas Due [mailto:thomas@scanvaegt.dk] Sent: Sunday, October 11, 2009 10:23 PM To: General discussion for Windows Installer XML toolset. Subject: