[WiX-users] Is there an easier way of adding nodes and attributes to an xml file?

2009-10-13 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] Before= and After= vs. Execute=

2009-10-13 Thread Sebastian Brand (Instyler Software)
After= and > how they work together in the grand scheme of things and what is the > scope > of the "script". > > > > Thanks, Dave > > > > __ Information from ESET NOD32 Antivirus, versi

Re: [WiX-users] Before= and After= vs. Execute=

2009-10-13 Thread Dave Kolb
virus signature database 4504 (20091013) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer even

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

2009-10-13 Thread MYFLEX
Hi Blair, Thanks for your response. I added RemoveFeatures to CD. After this If I done the major upgrade, There are 2 entries in Add/Remove Programs. What might be the reason? Please suggest how can I solve it. Thank you once again. Blair-2 wrote: > > It should, depending on how your product

[WiX-users] Before= and After= vs. Execute=

2009-10-13 Thread Dave Kolb
Is there somewhere written up an overview of the flow of the installer in general and how sequencing actions work? I would like to better understand how to sequence actions and am confused about vs. Before= and After= and how they work together in the grand scheme of things and what is the scope

Re: [WiX-users] TargetDir/SourceDir question

2009-10-13 Thread Cherney John-CJC030
My installer isn't installing a lot and I always want the package installed on the root drive. The user doesn't get a choice. It needs to be completely unattended, no user input, except for the initial double click. I was hoping that the system drive was one of the predefined paths, but it doesn't

Re: [WiX-users] TargetDir/SourceDir question

2009-10-13 Thread Blair
Ultimately what kind of paths do you want for your product's installation? What do you wish as far as customizability of your customers regarding those paths? If you simply want to ensure that the default installation drive is %SystemDrive% AND you are not using one of the predefined paths (such a

Re: [WiX-users] TargetDir/SourceDir question

2009-10-13 Thread Cherney John-CJC030
Is ROOTDRIVE the right thing to modify? Should I modify SourceDir or TARGETDIR instead? I have to do a custom action for this? I can't get away with setting a particular property and having it use that? I'm not complaining. I'll do this. I'm learning that I know less than what little I thought I kn

Re: [WiX-users] (heat hangs on particular dll)

2009-10-13 Thread Blair
I found the cause of your hang. Your vs2008 DLL creates a ProgId "CoKavBaseAbout.1" that is NOT "version-independent" that contains a CurVer subkey pointing back at itself. Your vs6.0 DLL does NOT contain that extra CurVer key. Version independent ProgIds are supposed to point to their current Ver

Re: [WiX-users] Installer screw up

2009-10-13 Thread Blair
If you have a lot of customers you will probably be better off distributing an MSP file which can be run right from your web site instead of requiring a special command-line like a minor upgrade MSI will. -Original Message- From: Michael Osmond [mailto:mosm...@baytech.com.au] Sent: Tuesda

Re: [WiX-users] help with error LGHT0204: ICE03: Invalid format string

2009-10-13 Thread Blair
"/configuration/applicationSettings/RollCall.Properties.Settings/setting[\[] [...@key='project'[\]]/@value" Would become: "/configuration/applicationSettings/RollCall.Properties.Settings/settin...@k ey='project']/@value" Except that the repeated "[" char is confusing the formatted syntax parser

Re: [WiX-users] TargetDir/SourceDir question

2009-10-13 Thread Blair
ROOTDRIVE in non-administrative installations is always set (if you don't set it yourself) to the local drive with the largest amount of free space. See http://msdn.microsoft.com/library/aa371372.aspx Add this to your setup authoring: That will set ROOTDRIVE to the vol

Re: [WiX-users] Hidden files and folders

2009-10-13 Thread Blair
No such support natively exists in Windows Installer. You would need a custom action. -Original Message- From: Steve Lessard [mailto:sless...@microsoft.com] Sent: Tuesday, October 13, 2009 1:44 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Hidden files

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

2009-10-13 Thread Blair
The XmlFile element implements two custom actions for you: an immediate one that the element itself schedules that reads a custom table that the element adds rows to, and a deferred one that is scheduled by the immediate one, receiving the data retrieved by that immediate one and acting on it. The

Re: [WiX-users] change the default wixui dialog color

2009-10-13 Thread Blair
Not sure how you would run your ugly hacking code, nor how you would locate the window with your controls. It isn't documented and your custom action would run in a different process. The external UI can run actions within the package before it starts the installation sequence (such as AppSearch a

Re: [WiX-users] Create shortcut for file in merge module

2009-10-13 Thread Blair
In your wixlib, use only DirectoryRef elements as needed. Under your Product and Module elements for each of the two packages supply the appropriate directory tree. -Original Message- From: Dave Mateer [mailto:dave_mat...@ntm.org] Sent: Tuesday, October 13, 2009 7:30 AM To: wix-users@list

Re: [WiX-users] Are we supposed to register products ourselves or should WIX/MSI do it automagically?

2009-10-13 Thread Blair
The products are registered for Add/Remove Programs (whatever the platform calls it) via the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall registry key by Windows Installer. The HKLM\Software\[Company]\[Product] key is a best-practices location for per-machine configuration, and the ent

[WiX-users] help with error LGHT0204: ICE03: Invalid format string

2009-10-13 Thread Chris Jokinen
error LGHT0204: ICE03: Invalid format string; Table: XmlFile, Column: ElementPath, Key(s): RollCall.exe.config.project I have tried setting the ElementPath a few different ways and I am still missing something.sorry I do not have much experience with xpath.looks simple enough.

Re: [WiX-users] No icon on internet shorcut

2009-10-13 Thread Chad Petersen
Some of these people are talking about the issue with IE7 and URL shortcuts and some are talking about another issue (with IE7 and favicons). Both of them are annoying issues. http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/10 ccd717-bd2c-487d-ab42-4a0a8dbf0293/ -Origi

Re: [WiX-users] Are short names even useful anymore?

2009-10-13 Thread Blair
If you mark your package with the packa...@shortnames='yes' you will set the "short file names" bit in the so-called Word Count summary information stream. http://msdn.microsoft.com/library/aa372870.aspx. You can also force use of the 8.3 names by setting the SHORTFILENAMES property. Otherwise, SFN

Re: [WiX-users] No icon on internet shorcut

2009-10-13 Thread Chad Petersen
Is this with IE7 and you get the generic icon with the folded corner in the upper right? If so, this is actually an IE7 bug. The icon in the resource file was referred to with an incorrect GUID in the registry. I'll see if I can dig up a link that describes it. Problem, if it is the same, didn't h

Re: [WiX-users] Installer screw up

2009-10-13 Thread Michael Osmond
I have also had a similar experience with a third party MSI, which we fixed by editing the cached copy. The other option you could try is writing a Minor Upgrade for your installer - with the offending condition removed. When you do the minor upgrade you specify the REINSTALLMODE to recache t

Re: [WiX-users] Are short names even useful anymore?

2009-10-13 Thread Dave Kolb
Interesting. I still think I will not specify short names so as to let them auto generate and see if I ever run into problems. Thanks, Dave -Original Message- From: Brant Gurganus [mailto:br...@gurganus.name] Sent: Tuesday, October 13, 2009 4:23 PM To: General discussion for Windows Insta

[WiX-users] TargetDir/SourceDir question

2009-10-13 Thread Cherney John-CJC030
I apologize if this question is answered in an FAQ or email somewhere. I didn't turn up much when I was searching this mailing list. I'm running into a problem with TARGETDIR or SourceDir. I always want my install to go onto C: (or the SystemDrive environment variable), but my installs are going

[WiX-users] Hidden files and folders

2009-10-13 Thread Steve Lessard
I know how to install a file as a hidden file using the Hidden attribute as shown below. What I would like to know id how do I create a directory that is itself a hidden directory? Thanks -SteveL HOWTO install a file as a hidden file: -

[WiX-users] No icon on internet shorcut

2009-10-13 Thread Keith Nicholas
Hi, when trying to adding a shortcut http://www.outpostcentral.com/"/> when it installs it doesn't seem to have an icon. The other shortcuts I have do seem to have an appropriate icon though. any ideas why?its being installed onto a windows XP machine if that makes any difference. I also

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

2009-10-13 Thread Chris Jokinen
Blair, Yes I was speaking of the installer's command line parameter. I have been reading over some blogs and examples and I want to make sure I have this correct. I can use the session to access the command line parameters and then assign those to Wix in this kind of structure .I

Re: [WiX-users] Are short names even useful anymore?

2009-10-13 Thread Brant Gurganus
Long file names can be turned off on NTFS so you have to worry about it there as well. See http://blogs.msdn.com/astebner/archive/2005/01/27/362049.aspx Brant Gurganus http://gurganus.name/brant On Tue, Oct 13, 2009 at 4:09 PM, Dave Kolb wrote: > Brant, Know anyway for wix to check that I am

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

2009-10-13 Thread Blair
Sorry, I misunderstood, and the reference to NTFS didn't prompt me to what you were saying. String table entries can permit a longer displayed shortcut name where you are not limited by the filesystem limitations (abet much more permissive than 8.3 was). That also allows you to show otherwise illeg

Re: [WiX-users] Are short names even useful anymore?

2009-10-13 Thread Dave Kolb
Brant, Know anyway for wix to check that I am installing on NTFS and not a FAT system? I have no desire whatsoever of perpetuating anything in regards to FAT...Thanks, Dave -Original Message- From: Brant Gurganus [mailto:br...@gurganus.name] Sent: Tuesday, October 13, 2009 3:00 PM To: Gen

Re: [WiX-users] and question

2009-10-13 Thread Blair
Unless you depend on something that happens after StartService, then I would do it next to that action. Make sure it is a deferred action without impersonation. -Original Message- From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] Sent: Tuesday, October 13, 2009 8:47 AM To: 'General dis

Re: [WiX-users] Are short names even useful anymore?

2009-10-13 Thread Brant Gurganus
There are still filesystems that Windows can use that are short name only. Brant Gurganus http://gurganus.name/brant On Tue, Oct 13, 2009 at 2:37 PM, Dave Kolb wrote: > Thanks Chad. In spite of calling it a shortcut, I know what a SFN is since > working on PCs from the very first version of DO

Re: [WiX-users] Are short names even useful anymore?

2009-10-13 Thread Dave Kolb
Thanks Chad. In spite of calling it a shortcut, I know what a SFN is since working on PCs from the very first version of DOS 1.0, but am wondering why I might want to have anything meaningful for a short name nowadays. Since these names would be for my program files I'd really rather not any "legac

[WiX-users] in the wix 3.5 release work is a file | new | project | wix | patch project template going to eventually get included?

2009-10-13 Thread Robert O'Brien
in the wix 3.5 release work is a file | new | project | wix | patch project template going to eventually get included? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you

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

2009-10-13 Thread Chad Petersen
An 8.3 filename (also called a short filename or SFN) is a filename convention used by old versions of DOS and versions of Microsoft Windows prior to Windows 95 and Windows NT 3.51. It is also used in modern Microsoft operating systems as an alternate filename to the long filename for compatibility

Re: [WiX-users] Are we supposed to register products ourselves or should WIX/MSI do it automagically?

2009-10-13 Thread Dave Kolb
Nevermind on the ARP stuff. I defined the values and they just work! Am still wondering what is the proper thing to do in regards to registering the install of the product though. Thanks, Dave From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] Sent: Tuesday, October 13, 2009 1:24 PM To: 'Gen

Re: [WiX-users] Removing WebVirtualDir / WebApplication onuninstallonly

2009-10-13 Thread Scharp, Craig
Hi Ben, I see. I'm doing just the opposite. Installing new website/app, but leaving default alone. Not sure how to install/uninstall just the app like you need. Sorry for the confusion and sorry I don't have any good info on that one. If I run across it, I'll be sure to share. Thx, Craig --

[WiX-users] Are we supposed to register products ourselves or should WIX/MSI do it automagically?

2009-10-13 Thread Dave Kolb
When a product is installed, are we supposed to have our .wxs file register an entry into HKLM\Software\[Company]\[Product] ourselves or is this something the .msi installer is supposed to do for us somehow? I looked at my old .msi files build with VS2008 before wix and did not see any special regi

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

2009-10-13 Thread Dave Kolb
Thanks Chad as I did not notice I said that. I definitely mean a "short name" or 8.3 name. I would just as soon not clutter my .wxs file with them if I don't need them and so am wondering on XP forward in what cases a user would see one of the auto generated short names if I did not specify them an

Re: [WiX-users] Installer screw up

2009-10-13 Thread Rob Hamflett
We had something like this but managed to catch it after it had gone to only one customer. The installer we gave them had a condition that prevented it from being uninstalled. I had to install it locally and find the cached copy. You can either do this by searching the Windows folder or lo

Re: [WiX-users] and question

2009-10-13 Thread Dave Kolb
Thanks Blair. In that case, I think I will start the service with a CA. What would be the proper sequence point to do this? Thanks, Dave -Original Message- From: Blair [mailto:os...@live.com] Sent: Tuesday, October 13, 2009 9:27 AM To: 'General discussion for Windows Installer XML toolset

Re: [WiX-users] Removing WebVirtualDir / WebApplication on uninstallonly

2009-10-13 Thread Benjamin Podszun
Hi Craig. Thanks for the fast response! Actually I found your code/the nabble link below already before posting to this list, I just don't understand if that helps me. Probably I'm just too new or not able to express my problem in a good way: I install on machines where a default site is present

[WiX-users] Installer screw up

2009-10-13 Thread John Lister
Hi, I've a bit of a problem.. I've created an installer previously which worked fine but required a certain version of IE to be installed which a while ago worked fine. Foolishly I didn't specify the IE version properly and also didn't stop the checks during uninstall. Now MS has kindly pushed t

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

2009-10-13 Thread Chad Petersen
Be careful there. A short name (8.3 convention) is different than a Shortcut, which is what your subject line implies. -Original Message- From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] Sent: Tuesday, October 13, 2009 8:56 AM To: 'General discussion for Windows Installer XML toolset.

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

2009-10-13 Thread Dave Kolb
Blair thanks but I have to confess to not understanding that explanation at all. What would be such a case that an XP or Vista user saw a short name instead of the NTFS name? - Dave -Original Message- From: Blair [mailto:os...@live.com] Sent: Tuesday, October 13, 2009 9:22 AM To: 'General

Re: [WiX-users] Removing WebVirtualDir / WebApplication on uninstallonly

2009-10-13 Thread Scharp, Craig
Hi Ben, I have resolved all install/uninstall issues with websites in IIS with the code below. By storing properties in registry and reading them back, all works fine. I have included the port, description (name), hostheader value and IP address as registry values. This allows me to have multip

[WiX-users] Removing WebVirtualDir / WebApplication on uninstall only

2009-10-13 Thread Benjamin Podszun
Hi. I can successfully deploy an application that includes a web application among others (thanks to this list) like this: This works fine, but leaves the web application in place (and a uninstall/reinstall cycle fails, because the web application "SomeName" exists already..). I

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

2009-10-13 Thread Thorsten Schöning
Guten Tag Blair, am Dienstag, 13. Oktober 2009 um 05:57 schrieben Sie: > And changed it to this: > File="[SignWrapper_RootDir]signwrapper.xml" Action="setValue" Value="0" > ElementPath="//signwrapper/BEFDE7B3-54DB-419e-BB46-5FA8CE997AD5/spezial/disa > blePdfInline" Sequence="1" /> >

Re: [WiX-users] change the default wixui dialog color

2009-10-13 Thread Scott Palmer
The problem I'm having with this is for the "accept license" checkbox of the "Minimal" UI. It's really awkward to make that UI not look ugly. The external UI is interesting. One way that seems reasonable would be for an external UI in a bootstrapper to come up with values for all sorts of public

Re: [WiX-users] Create shortcut for file in merge module

2009-10-13 Thread Dave Mateer
The wixlib looks like exactly what I need--thank you for pointing me in that direction. I *almost* have it working, except I can't figure out what to use for the Directory elements in the "common" wxs file. The components in the wxs file will be installed in different locations in the stand-alon

Re: [WiX-users] error in german wxl file

2009-10-13 Thread Blair
Please file a bug. -Original Message- From: Thorsten Schöning [mailto:tschoen...@am-soft.de] Sent: Tuesday, October 13, 2009 5:20 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] error in german wxl file Hello, if anyone is interested, there's a spelling

Re: [WiX-users] Sequencing custom actions

2009-10-13 Thread Blair
Sequencing is the order in which the actions are queued to run. Conditions is the decision to run or not run any arbitrary action. You need to look at conditional syntax and set the condition of your action. However, there is an issue with what you describe you need: In the sequence between Cost

Re: [WiX-users] Web setup using .msm

2009-10-13 Thread Blair
Not sure, but InstallUtil* is Self-Reg (aka evil). Visual Studio's setup projects do several things that make deployment "easier" that invariably cause headaches later on when you have to service/maintain those setups (including broken upgrades, orphaned resources, failed removals, etc.). -Ori

Re: [WiX-users] Setting feature options

2009-10-13 Thread Blair
I haven't tested it, but what happens if you set @InstallDefault='local'? -Original Message- From: Gareth [mailto:gmor...@serif.com] Sent: Tuesday, October 13, 2009 4:01 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting feature options Is anyone able to confirm my

Re: [WiX-users] and question

2009-10-13 Thread Blair
To reduce reboot prompts many of us set @Stop to "both". Windows Installer assumes that if you want the service started during the installation, it is a failure if it doesn't. It uses the built-in action StartServices, which can't be redefined to ignore (all you can do is condition it, which isn't

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

2009-10-13 Thread Blair
Shortcut names are exposed to users on XP systems and may be exposed to them on Vista systems, depending on whether they have had a native resource dll string table entry assigned to them. The windows shell which is responsible for showing the start menu is either all or mostly native code, the .ne

[WiX-users] error in german wxl file

2009-10-13 Thread Thorsten Schöning
Hello, if anyone is interested, there's a spelling error in the german translation file in the source-package of wix. Index: WixUI_de-de.wxl === --- WixUI_de-de.wxl (Revision 90) +++ WixUI_de-de.wxl (Revision 91) @@ -1,4 +1,4

[WiX-users] Sequencing custom actions

2009-10-13 Thread Armin Linder
Hi WiX users, I am seeking advice how I can accomplish the following: I found out how to sequence custom actions "after InstallFinalize". For my installation requirements I need a finer degree of control when custom actions are run, particularily I am seeking for a way to execute a custom action

[WiX-users] Web setup using .msm

2009-10-13 Thread Asterisk
Hi , Please guide me to create a web setup (.msi). I have a .msm file created in visual studio merge module which basically does all the work. 1.It creates a virtual directory and deploys the web application. 2.It creates various performance counters and installs it. I want to refer it into a wix

Re: [WiX-users] Setting feature options

2009-10-13 Thread Gareth
Is anyone able to confirm my suspicions, or suggest an alternative method for influencing the feature options? -- View this message in context: http://n2.nabble.com/Setting-feature-options-tp3788261p3815424.html Sent from the wix-users mailing list archive at Nabble.com. ---

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

2009-10-13 Thread Dominique Louis
There are several ways to do it apparent, but this is what works for me... Set up your control up like this... There must be at least 1 dummy ListItem, otherwise the appropriate table will not be created. As you can see mine is MSSQL

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

2009-10-13 Thread Mukesh Agrawal
Have you tried using CopyFile Element ?? http://wix.sourceforge.net/manual-wix2/wix_xsd_copyfile.htm -Original Message- From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] Sent: Tuesday, October 13, 2009 9:47 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [

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

2009-10-13 Thread Dominique Louis
Hi Wendell, I had looked at that web page, but it never dawned on me it would be that simple. I thought it was a special property like the other PropertyRef ones, but when I tried that nothing happened. Thanks for the clarification. Dominique. -Original Message- From: Wendell Joost [

[WiX-users] Change the name of the resulting .msi using msbuild

2009-10-13 Thread Keuth Nikolaus AVL/GRZ
Hallo! We are building our complete software using ms-build. For building the setup, which consist of different projects, we created a solution combining all these projects. Out of the build process I need to build this solution twice with different settings and ideally with different res