[WiX-users] Path to Binary

2007-05-31 Thread darrenstone
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. Howev

Re: [WiX-users] Trying to build example

2007-05-31 Thread Rennie Petersen
If you're totally new to WiX you might be interested in my (incomplete) Beginners Tutorial for WiX 2.0 with sharpDevelop. http://www.merlinia.com/mdt/WiXTutorial.msl Rennie > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Dale Quigg > Sent: 30

[WiX-users] Setting permission of a shortcut

2007-05-31 Thread Brian Simoneau
Is there a way to set the permissions of a shortcut in WiX? I can see that the Permission element can be used on a File, but is there something available for a Shortcut? Brian Simoneau Software Developer Freedom Scientific -

[WiX-users] Passing properties from main setup to merge module

2007-05-31 Thread hariom
Hi All, We have a total of 10 products. There is some common task across setup of all these products that is nothing but updating a common config file. There are some nodes which are updated by all products and some nodes are product specific. I have created a merge module which does this task. N

Re: [WiX-users] Path to Binary

2007-05-31 Thread Bob Arnson
[EMAIL PROTECTED] wrote: 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 ? Contents from the Binary table are streamed out on

Re: [WiX-users] Setting permission of a shortcut

2007-05-31 Thread Bob Arnson
Brian Simoneau wrote: Is there a way to set the permissions of a shortcut in WiX? I can see that the Permission element can be used on a File, but is there something available for a Shortcut? Nothing built-in; shortcuts are created via shell calls, so they're not treated as files even if

Re: [WiX-users] Passing properties from main setup to merge module

2007-05-31 Thread Bob Arnson
hariom wrote: > 1. Is that creating a merge module in this scenario is correct decision? OR > is there any other better options ? > If all your setups are built with WiX, just use a .wixlib. Merge modules aren't really designed to take dependencies on "global" properties. -- sig://boB http:/

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Jerome Haltom
That doesn't really explain what the bootstrapper is. What is this bootstrapper thing? How do I build one? On Wed, 2007-05-30 at 19:18 -0700, Bob Arnson wrote: > Jerome Haltom wrote: > > Hmm... you mean I have to write a piece of software to install the > > dependencies before I run the installer?

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Richard.Foster
Jerome, There are several readily available bootstrappers. If you are developing using Visual Studio 2005, this article may be helpful: http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ For other open source options (like dotNetInstaller - see http://www.codeproject.com/install/dotNetI

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Peterson, Joel
Couple comments. 1. I really wish http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ was more of a how-to. It isn't really intuitive on how to use all of this tooling in Visual Studio 2005, or where to find it. 2. WiX really needs a better bootstrapper as a part of what it offers. If it

[WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread mikebartlett
Hi Guys, I am dropping Nant and a series of related files onto the target machine and then executing Nant using a custom action (all works fine). My problem is that I need to clean all the files off afterwards. Is there a clean way to do this without me having to resort to a custom action that

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Jerome Haltom
> 1. I really wish > http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ was more of > a how-to. It isn't really intuitive on how to use all of this tooling in > Visual Studio 2005, or where to find it. > > 2. WiX really needs a better bootstrapper as a part of what it offers. > If it wer

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Rob Mensching
1. Agreed. 2. It is under way. There is an early (not nearly useful enough) bootstrapper in WiX v3 today used by ClickThrough. I'm building a better one, see: http://robmensching.com/blog/archive/2007/04/10/WiX-v3-Roadmap-Draft.aspx 3. I think a couple companies have. -Original Messa

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Richard.Foster
Yeah, I agree that MSDN article really doesn't say much about how to do it... I should probably have read it better before passing on the URL, it was just one of the early results in the Google search I did! As far as the better bootstrapper is concerned, I believe that is part of the vision for C

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Rob Mensching
Good question. I have no answer but it is pretty clear that we need one in the WiX toolset and that's my personal secondary priority when working on WiX (first priority is keeping the project running as smoothly as possible). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Rob Mensching
Uhh, I must be misunderstanding something. Do you really want to install something, run a CustomAction then delete everything you installed? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mikebartlett Sent: Thursday, May 31, 2007 9:52 AM To: wix-users@l

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Aaron Shurts
RemoveFiles is a standard action and would only removes files within components that are marked for removal. What you are asking for would require an additional custom action. Why not store the executables that you want to run in the Binary table and call them from there? They never get installed

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
Hi Aaron, I have tried that but unfortunately because Nant has so many DLLs and files it uses through various directories, when I package the lot up in the BInary table I get an error. I guess I will need an additional custom action.  Thank you fory our help, I really appreciate it.

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Rob Mensching
[please keep wix-users on the thread so people know the answer] That isn’t an install. It is *almost* an install and an uninstall with a bunch of work tossed in the middle. What it really sounds like you have is a batch file: xcopy /chezy \\source\location C:\target\location\ pushd C:\target\

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Julie Campbell
I've got some preliminary notes/sample code/links about how to actually create a bootstrapper here that could be of help: http://mindcapers.com/wiki/Bootstrapper It's under construction, so a bit of a mess, sorry. Julie Campbell [EMAIL PROTECTED] _

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Aaron Shurts
You definitely don't want to use an MSI for that. A simple batch file should get the job done. Regards, //aj On 5/31/07, Rob Mensching <[EMAIL PROTECTED]> wrote: > > > > > [please keep wix-users on the thread so people know the answer] > > > > That isn't an install. It is *almost* an install an

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
I agree The problem is that I can't be sure people will have Nant on their system, so I have to make sure it gets dropped.  Aaron mentioned I would need an additional custom action - any other suggestions or does that look like the main contender? -Mike Ps Thanks again for your help. -O

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
My boss doesn't want to use a batch file as he wants it all to be done through an 'MSI' file to look slicker - so I suppose I have to ask - is there really no way to delete temporary files in WIX? Is there not a way you can create a file (in much the same way you would create a regular file ins

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Richard.Foster
I *really* hope this isn't for a "product" that is going anywhere but inside your company. If it is, then I'm sorry to say it but your boss is being idiotic (and asking for trouble down the road when the time comes to update or maintain whatever it is you are packaging). If it is only an in

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Matthew Janulewicz
I'd be curious about what, exactly, nant is doing. Nant is a developer tool, not a consumer tool. If I downloaded something that (even temporarily) had to install a compiler or scripting engine, run a script, then delete itself... I'd wonder what your boss is thinking. It's been a while since I

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Wilson, Phil
On 3, there is this, from Microsoft's David Guyer I believe: http://www.codeplex.com/bmg I can't tell if it's an official product or not, but I suspect not. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peterson, Joel Sent: Thursday, M

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Aaron Shurts
Can you tell us exactly what you want this product to do? Is it actually leaving anything behind or is it only being used to run actions? How is your C#? You could write a wrapper instead of using a batch script that essentially accomplishes the same thing if you want a nice interface. Regards,

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
Yes - the product is a hotfix MSI. All the hard work of moving files, copyin files, etc is done by Nant - we just want to use WiX as the main GUI.  My C# is pretty solid.  Do you have any examples or URLs that show what you are suggesting? Cheers, -Mike -Original Message-

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Matthew Janulewicz
I'm still not sure I understand what Nant can do in this context that the .msi itself can't do. Plus, the msi will give you some semblance of upgrade tracking and all the cool stuff the Windows Installer API adds to the soup. -Matt _ From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [WiX-users] ServiceInstall Problem

2007-05-31 Thread Pankaj Savdekar
Thanks Phil. It resolved my problem. I added registry key create command in wxs and it worked. Thanks again. Pankaj = ERROR_SERVICE_REQUEST_TIMEOUT = 1053. One of the gotchas with that AppId registry entry is that servicesrunning with localsystem don't have the s

Re: [WiX-users] v3 Simple Custom Action?

2007-05-31 Thread S C
Thanks for helping out. My MSI is supposed to install "silently", so the custom action/event has to run every time. I got your sample to work when I do an attended install, but trying to convert it to something that always runs after the MSI "finalizes" is what is not working for me. Thanks ag

Re: [WiX-users] upgradable merge modules

2007-05-31 Thread Mike Dimmick
Back to the original topic of merge modules: Merge modules simply provide components to a larger install. There is no concept of 'not installing if already installed' - the file versioning mechanism covers this. The components are reference-counted so that the component is maintained on the system

Re: [WiX-users] Merge Modules Serialized and Stamped at Install Time

2007-05-31 Thread Mike Dimmick
Their build process generates random GUIDs every time they run a build. -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: 31 May 2007 03:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Merge Modules Serialized and Sta

Re: [WiX-users] v3 Simple Custom Action?

2007-05-31 Thread Mike Dimmick
Conditions on custom actions are positive - the action runs if the condition is true. I think you simply want NOT Installed - which may seem counter-intuitive, but I believe the Installed property is set at the beginning of the install process and isn't updated during the process. -- Mike Dimmic

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Richard.Foster
I'm sorry... Using NAnt as the engine for applying a patch, in a scenario where NAnt is probably not present on the user's machine?! That's just ugly! (My personal opinion, of course.) It's just as well you're using a personal email address rather than a company one because otherwise I'd be making

[WiX-users] Error while trying to build with Crystal Reports XIr2 - Any ideas ?

2007-05-31 Thread DexterSinister
I'm building an updated version of an installation package [only the Crystal Reports merge modules have changed at this point ...] and I'm getting the following error: light.exe : error LGHT0001 : Error HRESULT E_FAIL has been returned from a call to a COM component. Exception Type: System.Runti

Re: [WiX-users] Error while trying to build with Crystal Reports XIr2 -Any ideas ?

2007-05-31 Thread Mike Dimmick
The documentation for ImsmMerge2::Merge wasn't exactly helpful (http://msdn2.microsoft.com/en-us/library/aa369275.aspx): Return Value The Merge function returns the following values. E_FAIL The merge failed catastrophically. This indicates an operational error, and is not the normal error return

Re: [WiX-users] Error while trying to build with Crystal Reports XIr2 -Any ideas ?

2007-05-31 Thread Aaron Shurts
OT, but I love that word...catastrophically. When functions in my code fail, I generally don't relate them to cataclysmic events. :-) Can you post some snippets of the module so we can have a look, namely how the components are organized? Regards, //aj On 5/31/07, Mike Dimmick <[EMAIL PROTECTE

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
Hi Rob, No offence taken - I'm just following orders from my boss, and I don't really understand these technologies to such a level where I can make a call on what is good practice or truly insance. I do appreciate you taking the time to answer my questions, though :) Cheers, -Mike

[WiX-users] Calling MSXML6 MSI from Application MSI.

2007-05-31 Thread Sankaranarayanan
Hi, I have an application which is dependent on MSXML6. XP doesn;t have MSXML6 by default. Is there a way to call MSXML6 MSI from my application MSI and install MSXML6 if its not already present in the system. Thanks, Sankaranarayanan MG _

Re: [WiX-users] Calling MSXML6 MSI from Application MSI.

2007-05-31 Thread Bob Arnson
Sankaranarayanan wrote: > I have an application which is dependent on MSXML6. XP doesn;t have MSXML6 by > default. > Is there a way to call MSXML6 MSI from my application MSI and install MSXML6 > if its not already present in the system. > No, you need a chainer/bootstrapper to handle two pac

[WiX-users] Problems with script custom actions

2007-05-31 Thread Mike Dimmick
I expect that not everyone here reads Heath Stewart's blog, so I thought I would point to an interesting article that he posted last night: "Windows Installer Errors 2738 and 2739 with Script Custom Actions". Yet another issue with script custom actions - and because some of the validation used b

Re: [WiX-users] Merge Modules Serialized and Stamped at Install Time

2007-05-31 Thread Bob Arnson
Mike Dimmick wrote: > Their build process generates random GUIDs every time they run a build. > Surely nobody does something that insane...?! -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by DB2

Re: [WiX-users] Merge Modules Serialized and Stamped at Install Time

2007-05-31 Thread Mike Dimmick
If built in VB6 and they haven't enabled Project Compatibility or Binary Compatibility... -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: 01 June 2007 07:31 To: Mike Dimmick Cc: 'Nick'; wix-users@lists.sourceforge.net Sub