[WiX-users] Variables

2007-05-21 Thread Wik Carl-Johan
Hi! I have found things like this, in example: $(var.SampParentDir) But I haven't been successful in finding information about it. Can anyone point me in the direction where to read up about this or explain it please. How do I "declare it", init it Regards --

Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Bob Arnson
Aaron Shurts wrote: > I decided to go with v3 because I didn't feel like re-writing all the > deprecated tags when v3 is released. I think we have a fix for it in > the meantime, but it sure would be nice if the fixes were propagated > in to the v3 code branch. Check the latest weekly release:

Re: [WiX-users] Patch failure when using non-whole files

2007-05-21 Thread Bob Arnson
Gareth at Serif wrote: > So, do you think it's a bug in MsiMsp.exe that I can report to M$ or with the > Candle/Light stages prior to it? > It's not a bug in WiX, AFAIK. -- sig://boB http://joyofsetup.com/ - This SF.ne

Re: [WiX-users] custom action from network share doesn't work

2007-05-21 Thread Bob Arnson
Bei Liu (Volt) wrote: However, when running from a network share, it failed - returned 1603. If the custom action isn't marked Impersonate="yes" MSI runs it as the local system account, which won't have access to network shares. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Is there a WiX element that will perform a "FindWindow" ?

2007-05-21 Thread Bob Arnson
Daniel Gurney wrote: > I'd like to find out if an application is running. I don't want to > close the application. This is more of a boolean action that I am > looking for. Not at the moment. There's the beginnings of one in the CloseApplications CA; it'd be easy enough to expose the find fun

Re: [WiX-users] How do you copy a folder along with its files and subdirectories.

2007-05-21 Thread Sreenivasa Rao Ramisetty (Satyam Computer Services)
My question was to reference a directory with subdirectories and files at build time. Say I use tallow or tool to import a directory and its folders, MSI gets created properly but after installation I am not able to see directory or its content. So to create the directory structure, Do we need

[WiX-users] custom action from network share doesn't work

2007-05-21 Thread Bei Liu (Volt)
Hello, In my Wix, I searched for the registry to find the path for a exe, I then call this exe in my custom action [EXEDIR] the.exe. The custom action worked fine when running the msi from my local machine - return 1. However, when running from a network share, it failed - returned 1603. Shou

Re: [WiX-users] public properties can be read inside the merge module?

2007-05-21 Thread Amit Srivastava (Tata Consultancy Services)
Any Suggestion...? From: Amit Srivastava (Tata Consultancy Services) Sent: Monday, May 21, 2007 12:03 PM To: 'wix-users@lists.sourceforge.net' Cc: Rob Mensching Subject: FW: public properties can be read inside the merge module? Any help on this...? From: Amit Srivastava (Tata Consultancy Servic

Re: [WiX-users] Patching a mergemodule or forcing an install

2007-05-21 Thread Mike Dimmick
The condition on each component is indeed 'VersionNT <= 500 or Version9X'. This means the component is _only_ installed on Windows 2000 or lower, or on Windows 98. It is not the same as a launch condition, where the condition must be true for the installation to proceed. As you discovered, the com

Re: [WiX-users] How do you copy a folder along with its files and subdirectories.

2007-05-21 Thread Aaron Shurts
Can you clarify your question? Are you asking how to reference a directory and all its contents at build time for compilation in to your MSI or are you asking how to copy the contents of a directory on the target machine at install time? Regards, //aj On 5/21/07, Sreenivasa Rao Ramisetty (Satya

Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Aaron Shurts
Thanks for the reply Mike. I am using version 3.0.2911.0. A colleague of mine pointed out what the problem might be on the bug tracker, but apparently the fix hasn't been pushed up to v3 yet. http://sourceforge.net/tracker/index.php?func=detail&aid=1653864&group_id=105970&atid=642714 I decided

Re: [WiX-users] Using heat.exe as part of an automated build

2007-05-21 Thread Mike Dimmick
Apportioning blame where required: the spurious entries are generated by the VB6 DllRegisterServer code, not by Heat. Heat does not know what the DllRegisterServer code does, it simply captures the changes the DLL made to the registry. The sterile environment supplied by Heat for the DLL to inject

Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Mike Dimmick
What exact version of the WiX toolset are you using? E.g. what does the light.exe banner say? Is your script in ANSI or Unicode text? 640KB is a fairly large script, but there should be plenty of virtual address space in the custom action worker process to allocate that much memory, unless

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Mike Dimmick
Yes, you're breaking rule 1 of the component rules: a file installed to the same location must always belong to the same component and have the same GUID. Change the GUID, it's a new component; change the component, you must change the final path name of the file. If you don't, you mess up Windows

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Neil Sleightholm
We do something similar to this with a tool based on mallow, this is in turn based on tallow but it has one big advantage, it maintains the guids for files already added to the output wxs files. A quick Google should locate the mallow source if you are interested. Neil Neil Sleightholm X2 Syste

[WiX-users] Is there a WiX element that will perform a "FindWindow" ?

2007-05-21 Thread Daniel Gurney
I'd like to find out if an application is running. I don't want to close the application. This is more of a boolean action that I am looking for. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the F

[WiX-users] How do you copy a folder along with its files and subdirectories.

2007-05-21 Thread Sreenivasa Rao Ramisetty (Satyam Computer Services)
Hi, Can anyone provide me a simple way of copying a folder and its contents including its subdirectories in wix. Do I need to use CreateFolder and Copyfile for each file and directory? Thanks Sreenivas. - This SF.net email

[WiX-users] Getting disk cost from a property

2007-05-21 Thread Magus
Is there a property that stores the disk cost required, or some way of obtaining that information. The people I work for don't want a disk cost dialog anymore, but instead what to display the current cost in my Custom UI. It here a way to grab the disk cost from MSI with a function call, or prope

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Anthony Wieser
I've just built a similar tool today, to help me copy a set of sample files to the installation, because I never want to do that by hand, and heat's output was just too messy for my liking. What I've done is taken all of the files in a tree, and created a component for each file, with a unique

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Yexley, Robert (LNG-CON)
Thanks Rob. But the "code divination" that you speak of is not really what I'm looking for. I'm not looking for some voodoo that will get me out of doing my job, I'm just looking for a way to do it more efficiently and effectively. The *actual* situation that I have is that the files that make up t

[WiX-users] FW: public properties can be read inside the merge module?

2007-05-21 Thread Amit Srivastava (Tata Consultancy Services)
Any help on this...? From: Amit Srivastava (Tata Consultancy Services) Sent: Monday, May 21, 2007 12:28 AM To: Rob Mensching Subject: RE: public properties can be read inside the merge module? Thanks for your quick response.. If we describe the properties inside the merge module then we can read

[WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Aaron Shurts
Hey all, I am having a problem with SQL custom actions. This is what I am getting in the log: MSI (s) (9C:C0) [10:10:21:781]: Doing action: ConfigureSql Action 10:10:21: ConfigureSql. Configuring SQL Server Action start 10:10:21: ConfigureSql. MSI (s) (9C:98) [10:10:21:796]: Invoking remote custo

Re: [WiX-users] Patching a mergemodule or forcing an install

2007-05-21 Thread Rob Mensching
Uhh, do I understand correctly that you want to install the Merge Modules where they say they can't be installed? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pseudonymic Wannabe Sent: Monday, May 21, 2007 2:15 AM To: wix-users@lists.sourceforge.net S

[WiX-users] Undelivered Mail Returned to Sender

2007-05-21 Thread Mail Delivery System
This is the Postfix program at host starfury17.uol.com.br. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to If you do so, please include this problem report. You can delete your o

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Rob Mensching
WiX is intended to be used in an automated build system. It fits in extremely well with every automated build process that I've been introduced to. What you appear to be looking for is an "automated code generation" process. Code generation is a completely different problem than building. Cod

Re: [WiX-users] Setting Folder ACL Permissions

2007-05-21 Thread Sysax Support
Is this something that is not supported in wix 2 or a limitation of Windows? If that is the case, what are others using to solve this? Thanks, John > more specifically, what ACL options should I be using to enable > ALL users on the computer to write and read files from this folder? > The permi

Re: [WiX-users] Patch failure when using non-whole files

2007-05-21 Thread Gareth at Serif
So, do you think it's a bug in MsiMsp.exe that I can report to M$ or with the Candle/Light stages prior to it? -- View this message in context: http://www.nabble.com/Patch-failure-when-using-non-whole-files-tf3778936.html#a10721753 Sent from the wix-users mailing list archive at Nabble.com. --

Re: [WiX-users] Patch failure when using non-whole files

2007-05-21 Thread Bob Arnson
Gareth at Serif wrote: > Do you not think there's a bug in this somewhere or any better workaround? > Yes, there's likely a bug. I don't know of a workaround. -- sig://boB http://joyofsetup.com/ - This SF.net email is

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Bob Arnson
Yexley, Robert (LNG-CON) wrote: Is WiX designed to be used in an automated build process? The WiX tools, of course. The subject of this thread is your setup *authoring*. The code based that it needs to be generated from is a moving target...changes on a ~weekly basis. Because the WiX tool

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Richard.Foster
Scott stated "[Heat] obviously should be [usable in an automated build process]" To which I would reply, "Should it really?" From my point of view, using Heat (or its WiX V2 predecessor Tallow) is akin to using a radio controlled rifle from several hundred miles away without the benefit of

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Scott Palmer
But it obviously should be. I hope this can be fixed, since we are stuck with having to deal with all the problems of COM and for some silly reason (I haven't seen a good argument against it yet) SelfReg is not supported and officially broken for dynamically linked DLLs on Vista. Microsoft also

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-21 Thread Yexley, Robert (LNG-CON)
Is WiX designed to be used in an automated build process? If so, is there any guidance anywhere on how to do so? I need an installer, and I need it to be generated as part of an automated build process. The code based that it needs to be generated from is a moving target...changes on a ~weekly basi

Re: [WiX-users] Patch failure when using non-whole files

2007-05-21 Thread Gareth at Serif
Thanks for your comments, but with the single file, the patch is 3 times bigger when including whole files. When you factor in the other patching files from the real case (which all make much smaller binary differences) the final patch is closer to 4 times bigger. Do you not think there's a bug

Re: [WiX-users] Using heat.exe as part of an automated build

2007-05-21 Thread Dyson, Peter
Although Rob et al, don't recommend this approach we have been using Heat, and it's predecessor, as part of our automated build process for over a year with Wix3. The main things to be wary of are the spurious entries generated by Heat, for example VB6 entries which should not be there. However t

[WiX-users] Patching a mergemodule or forcing an install

2007-05-21 Thread Pseudonymic Wannabe
Our application is dependent on some MS Merge-modules which we have in our installer, they are added via the and tags. Problem is the mergemodules have a condition VersionNT <= 500 or Version9X, this is a problem because we need the mergemodules to install on Windows2000. Now making our appl