Re: [WiX-users] Condition on Component based on Env Variable

2007-11-14 Thread Rob Mensching
[%ENVVAR] doesn't work? The MSI SDK has a topic about "Formatted" columns in the MSI database. It lists all kinds of cool tricks like the above. Simon Burgess wrote: > > Hi > > I am using the latest v2 > > I want to be able to create a registry key whose value is different > depending on an env

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Rob Mensching
I don't know where to reply to this thread so I thought I'd just start here. Personally, in the list of all the technologies to blame, I blame Fusion. Fusion is the technology under the GAC (Fusion is actually a code name for a few things but the GAC is very much Fusion's fault) and due to s

Re: [WiX-users] Change button in Add/Remove Programs dialog

2007-11-14 Thread Rob Mensching
Or All the same. Rob Hamflett wrote: > Set ARPNOMODIFY to 1. > > or just > 1 > should do the trick. > > Rob > > Abdullah Ahmed wrote: > >> Hey guys, >> >> Is there anyway to disable or remove the change button in the add/remove >> programs dialog? >> >> My installer currently installs an

Re: [WiX-users] How to copy whole directory

2007-11-14 Thread Rob Mensching
They work the same way. Just list all the files you want installed and the Windows Installer will install/uninstall/rollback them all. diwakar09 wrote: > hi, > > in case of installation i need to copy my whole directory and its > subdirectories to the installation location, > I know how to co

Re: [WiX-users] File element and DiskId

2007-11-14 Thread Bob Arnson
Craig Miller wrote: > Why is the diskId associated with a "file"? Because at the end of the day, files go into .cabs or disks. That said, you can also specify media IDs at the component or directory levels and they "cascade" down to their contained files. What you can't do at the moment is sp

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Bob Arnson
Adam Majer wrote: > I know this. My question was why have the start attribute of the > ServiceControl tag? Because MSI supports it for low-dependency services. > Maybe a good feature for future release of WiX may > be a delayed start of services. That is, the service is started after > installat

Re: [WiX-users] File element and DiskId

2007-11-14 Thread Craig Miller
Ah, I see. That isn't as flexible, and seems a bit confusing, but it should work. I expected the hierarchy to work the other way around. That is, that I would have a media element that would specify what features were contained in it. E.g. --Craig --- http://www.overlandnavigator.

[WiX-users] Doing a RegistrySearch and storing it into a Property - default value

2007-11-14 Thread Sabrina Werscheid
Hello, I have the following code snippet: This snippet should set the INSTALLDIR property to the path where the app is installed when uninstalling and do nothing if the app is being installed. Writing the path to the registry during install works perfectly. Also, the given snipp

[WiX-users] Не забудь записать

2007-11-14 Thread hudson whey-min
Страхование КАСКО и ОСАГО Тел. 644-76-38 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Down

Re: [WiX-users] WiX MSI not removing REG entries during removal

2007-11-14 Thread Bob Arnson
Lanteigne, Alan wrote: Could these errors (from my removal log) be the cause of REG values and files not being removed during uninstall? If your registry values belong to the component that's not being uninstalled, yes. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] Enable Wix3 Custom Action Trace

2007-11-14 Thread Bob Arnson
Mark Allanson wrote: > Just wondering how I can go about enabling trace from WiX custom > actions. The perf counter install is failing without letting me know > why (other than the standard windows installer error 1723, a DLL count > not be run). I have had a look through the wix CA code, and ca

Re: [WiX-users] wixca.wixlib and sca.wixlib not in WIX 3.0?

2007-11-14 Thread Bob Arnson
Leo ... wrote: What happened to the two WIX libs wixca.wixlib and sca.wixlib in WIX version 3.0? They're now embedded in extensions (like WixUtilExtension and WixIIsExtension). Load them with the -ext switch to candle and light. -- sig://boB http://joyofsetup.com/ ---

[WiX-users] YOUR INHERITANCE FUNDS OF $15.5M APPROVED

2007-11-14 Thread MR STEVEN WILLIAMS.
\FROM THE DESK OF MR STEVEN WILLIAMS DIRECTOR,INTERNATIONAL REMITTANCE FOREIGN OPERATIONS DEPT, UNION BANK OF NIGERIA PLC, LAGOS-NIGERIA. ATTENTION:PLEASE YOUR INHERITANCE FUNDS OF $15.5M THIS IS TO NOTIFY YOU THAT YOUR OVER DUE INHERITANCE FUNDS HAS BEEN GAZZETED TO BE RELEASED, VIA KEY TELEX TRA

[WiX-users] Creating Localized MSI using WIX

2007-11-14 Thread Michal Malka
Hi, I don't know if this is the right DL - if not, Please, forward to the right one. I'm trying to create MSI package using WIX toolset. I'm getting errors when I'm using localized (non-ASCII) names of the files/directories... For example: the last error that I got is: light.exe : fatal error LG

[WiX-users] File element and DiskId

2007-11-14 Thread Craig Miller
Why is the diskId associated with a "file"? This precludes using fragments to catalog components that might need to be used by more than one installer. I apologize for the length of the post. Hopefully the content is straight forward and simple. The documentation describes components as items t

Re: [WiX-users] Bug in Wix preprocessor?

2007-11-14 Thread Peter Marcu
This should work. Can you file a bug on SourceForge for this? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hancock (HSG) Sent: Tuesday, November 13, 2007 7:08 AM To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: [WiX-devs] Bug in Wix preprocessor? I'm gettin

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Richard
In article <[EMAIL PROTECTED]>, Adam Majer <[EMAIL PROTECTED]> writes: > > ServiceControl does more than *start* services. [...] > > I know this. My question was why have the start attribute of the > ServiceControl tag? Because ServiceControl does more than start services. > Maybe a good

Re: [WiX-users] WiX MSI not removing REG entries during removal

2007-11-14 Thread Lanteigne, Alan
Could these errors (from my removal log) be the cause of REG values and files not being removed during uninstall? MSI (s) (14:A4) [14:56:29:803]: Disallowing uninstallation of component: {193119C5-AF4B-4432-9406-FFB4C34DE70D} since another client exists MSI (s) (14:A4) [14:56:29:803]: Disall

[WiX-users] IIS Web Address problem

2007-11-14 Thread Cullen Waters
I'm trying to get my IIS site to only listen on the IP address that I'm providing. When I use the following snippet of WiX code, though, I get two addresses in the IIS site properties, and the one that is selected for it to listen on is 'All Unassigned'. How do I replace All Unassigned with my

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Chad Petersen
I, for one, am glad there is a Start attribute on the ServiceControl element. We have several services in our product that work in combination with each other and are needed to be started before the install finishes as several custom actions run utilities that configure the system and depend on the

Re: [WiX-users] Ваша реклама

2007-11-14 Thread Reiner
Электронные рассылки по базам всего мира. тел. 660-35-0б - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX an

[WiX-users] Condition on Component based on Env Variable

2007-11-14 Thread Simon Burgess
Hi I am using the latest v2 I want to be able to create a registry key whose value is different depending on an environment variable. I cant seem to find any info on getting an environment variable at msi install time or any examples of using a condition on a component (I figured I'd de

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Adam Majer
Richard wrote: > In article <[EMAIL PROTECTED]>, > Adam Majer <[EMAIL PROTECTED]> writes: > >> Regarding the service now, I think the problem has a lot to do with the >> installation of stuff into the GAC (the recommended way of doing things >> after all). All that the service needs is the C

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Richard
In article <[EMAIL PROTECTED]>, Adam Majer <[EMAIL PROTECTED]> writes: > Regarding the service now, I think the problem has a lot to do with the > installation of stuff into the GAC (the recommended way of doing things > after all). All that the service needs is the C runtime, nothing specia

Re: [WiX-users] WiX MSI not removing REG entries during removal

2007-11-14 Thread Lanteigne, Alan
Ok, I see this guy: createKeyAndRemoveKeyOnUninstall Creates the key, if absent, when the parent component is installed then remove the key with all its values and subkeys when the parent component is uninstalled. ...as an Action for the Registry element. That is almost what I'm looki

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Wilson, Phil
If this really is the C runtime then it's not going into the GAC (are you using the merge modules?) but it is being committed to the SxS directory at InstallFinalize (on Vista) so the effect is the same as if you had a managed code service dependent on assemblies being installed into the GAC. If

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Adam Majer
Richard wrote: > The problem isn't anything to do with Vista, its because your service > has a dependency on something in the GAC and the files don't really > appear in the GAC until after the Commit phase of the install. > > Just mark your service as starting automaticly and you shouldn't have >

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Christopher Painter
Exactly. I understand the transacted nature of MSI and why things are the way they are, but there is simply something wrong with MSI when files being installed by one standard action but not another standard action are available for consumption by yet another standard action. It's this bias t

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Christopher Painter
I agree the probing for the real goal instead of anwering the exact question is a good thing, but when someone replies with the `why do you think` tone, it is clear that the presumption is that they already know the requirement and have voided it. It's not a good way of starting a good dialog a

Re: [WiX-users] WiX MSI not removing REG entries during removal

2007-11-14 Thread János Brezniczky
Nope, I was wrong. See the action attribute of registry element in the WiX help. 2007/11/14, János Brezniczky <[EMAIL PROTECTED]>: > > If removal is what you expect, ICE validation (either with Orca or smoke) > is related to the question, and running it will help you in case roaming > user profil

Re: [WiX-users] WiX MSI not removing REG entries during removal

2007-11-14 Thread János Brezniczky
If removal is what you expect, ICE validation (either with Orca or smoke) is related to the question, and running it will help you in case roaming user profiles would be involved. As I remember : > > During removal, should a WIX/Votive generated MSI remove any registry > values it wrote during ins

[WiX-users] WiX MSI not removing REG entries during removal

2007-11-14 Thread Lanteigne, Alan
During removal, should a WIX/Votive generated MSI remove any registry values it wrote during install? Or is there some place you have to specify that as the desired behavior? Thanks, Alan Alan S. Lanteigne | Channel Ready Solutions phone & fax +1.317.715.8293| [EMAIL PROTECTED] Intera

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Richard.Foster
But it is possible to start services using MSI / WiX. I know. My installation does (I'm assuming it works for me because while the service is a .NET one, it is not installed in or dependent on the GAC). I guess what I'm trying to say is that there is merit to the ServiceControl element. Unfo

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread János Brezniczky
Well, then what do you think, why is there a ServiceControl element with start on install functionality? Should not it be completely removed to prevent people from thinking that they can accomplish it with MSI/WiX? It seems to me like people just simply need more than the current features. Otherwi

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Richard
In article <[EMAIL PROTECTED]>, "=?ISO-8859-1?Q?J=E1nos_Brezniczky?=" <[EMAIL PROTECTED]> writes: > these "why do you think" answers are They're not answers, they're questions. Over and over and over again, I see people asking "how do I do task X?" without ever stating the goal. Many time

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread John Vottero
> > Just mark your service as starting automaticly and you shouldn't have > any problem. Then Windows will start the service when its needed. How does Windows know when the service needs to be started (other than boot time)? -

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread John Vottero
> > Another solution that was suggested here was to use a deferred custom > action to start the service. But that also doesn't seem to work. Using > WiX 2.x branch and it results in a runtime error. The custom action > works OK if run outside of the MSI. The error returned is > > "Unable to sch

[WiX-users] special characters in Wix Product Name

2007-11-14 Thread DE�K JAHN, G�bor
On Wed, 14 Nov 2007 17:39:25 +1300, Adam Langley wrote: Adam, > I am building a Wix package, and my product name has a special > character in it (Latin U with diaeresis – Ü) I have tried both the > actual character, and its entity equivalent (Ü), but Windows > Installer is always unable to ren

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread János Brezniczky
Wouldn't a true solution be writing a chainer (bootstrapper)? Otherwise I agree with Christopher: these "why do you think" answers are implications of something that lies in the philosophy and the "state of art" - if the developer is assigned to preparing the installation, the developer thinks lik

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Christopher Painter
Talk about to the tail wagging the dog.Customer requirements should dictate installation behavior, not the installation technology being used. There are a number of ways to work around this limitation of MSI. Some involve code changes to the service exe and some require using alterna

Re: [WiX-users] Services + Vista + GAC

2007-11-14 Thread Richard
The problem isn't anything to do with Vista, its because your service has a dependency on something in the GAC and the files don't really appear in the GAC until after the Commit phase of the install. Just mark your service as starting automaticly and you shouldn't have any problem. Then Windows

[WiX-users] Enable Wix3 Custom Action Trace

2007-11-14 Thread Mark Allanson
Just wondering how I can go about enabling trace from WiX custom actions. The perf counter install is failing without letting me know why (other than the standard windows installer error 1723, a DLL count not be run). I have had a look through the wix CA code, and can see it uses standard OutputDeb

Re: [WiX-users] capturing errors from deployment using octopusCLI

2007-11-14 Thread Chandra Mohan
Just to set the context right, we are using xml2iis (an vbscript utility) to create the website as the WIX doesn't support all the IIS properties we intend to set. This xml2iis utility gets called in a custom action of the MSI. Question still holds good - how do we get the octopuscli to return

Re: [WiX-users] SelectionTree not showing the features to be installed!

2007-11-14 Thread Sedgar
Resolution found. Posted in neighbor topic: http://www.nabble.com/empty-feature-tree-in-maintenance-mode-tf1650272.html#a13743269 Empty feature tree in maintenance mode Sedgar wrote: > > Hi. > Have same problem with visibility of features components in SelectionTree. > All fine at the firs

Re: [WiX-users] empty feature tree in maintenance mode

2007-11-14 Thread Sedgar
Hi all, as Stefan sad me in private mail: ghosts from the past is back! I had same problem with maintenance mode, but with Stefan help I localize and then found a reason of problem. It concealed in IsolateComponents Action. Quotation from http://msdn2.microsoft.com/en-us/library/Aa369561.aspx M