Re: [WiX-users] Wix and TFS

2008-07-31 Thread Dmitry Berkovich
Hi, Do you using Wix V3 and Votive? If yes you have 2 options: I) just install WiX on Team Build Server and you can compile solution that have .wixproj project and it will be work. II) If you don't want/can not install Wix on Team Build server write me private email I will explain how you ca

Re: [WiX-users] Merge Module Help

2008-07-31 Thread Rob Mensching
Blair, you're right, it isn't "analysis paralysis" but the Component Rules are *fundamentally* broken. The fact that it is possible to mathematically demonstrate how simple developer behavior can create a paradox in the system (http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx) is just

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Rob Mensching
Bug. Would you mind filing it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Karper Sent: Thursday, July 31, 2008 19:48 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Binder variables from Votive It's in

[WiX-users] Wix and TFS

2008-07-31 Thread Sajid1105
I have a list of wxs files that packages files from a share folder where Team build stages its build result. Currently I am having batch file containing candle and light commands with sharefolder path as a parameter. I want to integrate it with TFS so that each time I schedule a build it creates

Re: [WiX-users] Conditional Property Value

2008-07-31 Thread Sajid1105
Thanks Alex.. Regards, Sajid Alexander Shevchuk wrote: > > Custom Action Type 51 is your friend: > > > > > > A=1 > A<>1 OR NOT A > > > Obviously, XXXSequence - whatever sequence table you need to schedule > these actions in, for example, InstallExecuteSequence. > > Regards, > Alex

Re: [WiX-users] Non-admin user can add remove feature, no UAC dialog

2008-07-31 Thread yixie
That really helps! Many thanks! Bob Arnson-6 wrote: > > yixie wrote: >> I found my installer don't require elevation if "change" or "repair". >> Although tt'll require elevation and UAC dialog popup if "install from >> not >> installed state", or "remove". >> > > That's by design. It's "sti

Re: [WiX-users] Vista not refreshing start menu after uninstall

2008-07-31 Thread Brian Rogers
Hey Michael, I'm going to step out on a limb with this one and say that this is a Vista bug, not an MSI issue if it is a bug at all. It almost sounds like something is holding a handle to that directory. If a process has a hold of it then it will not be removed until the handle is let go. In the c

Re: [WiX-users] Run ICE validation without admin permissions

2008-07-31 Thread Blair Murri
AFAIK, the only option is to run on Vista or Server 2008. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Sumakov Sent: Thursday, July 24, 2008 6:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run ICE validation without admin permi

Re: [WiX-users] FilesInUse in a different session

2008-07-31 Thread Blair Murri
Only with custom code. The APIs used by Windows Installer to retrieve the window titles of the processes holding files don't work across session boundaries. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Wednesday, July 23, 2008 11:47 PM To

Re: [WiX-users] Merge Module Help

2008-07-31 Thread Blair Murri
I just had to respond to this. Sorry for picking it back up. XCOPY simplicity in an MSI package is very easy to do. You use empty component guids and change your ProductCode on every single build. You don't ever patch, and removal doesn't do anything (files are left behind). For a complete solu

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Chandra Vuppala
Hi, Can anyone send me sample to use Wix lib in project, I have made one it is working fine if i dont add any directory in the project file. code of project file and wix lib given below. WIX LIB : http://schemas.microsoft.com/wix/2006/wi";> Wix Prje

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Christopher Karper
It's in the merge module itself. I would have expected it to get modularized like all of my other file/component references, but alas, alack... it was not to be. Chris On Thu, Jul 31, 2008 at 5:40 PM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Christopher Karper wrote: > > It's a merge module, and

[WiX-users] Vista not refreshing start menu after uninstall

2008-07-31 Thread Michael Ballou
Is it a known MSI issue that Vista doesn't refresh the start menu completely after uninstalling a product? The problem I see is that the product folder for my start menu icons do not appear to be removed after uninstalling my product. When I check the actual folder mapped for the start menu, t

Re: [WiX-users] UAC + devenv setup

2008-07-31 Thread John-Daniel Trask
I've tried this and it appears to work. You mention there is no guarantees with this process. Does this mean there would be a more robust mechanism of achieving the same outcome? Would bootstrapping and then manifesting the bootstrapper in a manner that elevated permissions resolve this issue more

Re: [WiX-users] Wix 3.0 Com+ deployment question.

2008-07-31 Thread Bob Arnson
Mo Benmouffok wrote: > *Candle Main.wxs -ext > Microsoft.Tools.WindowsInstallerXml.Extensions.ComPlusCompiler, > WixComPlusExtension.dll * > In WiX v3, you reference an extension just by specifying its assembly; Candle et al will load the extension based on the types it contains. -- sig://bo

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Bob Arnson
Christopher Karper wrote: > It's a merge module, and the file id needs the GUID put in to work. I > wouldn't think that was how it's *supposed* to work, but adding the package > guid to the file id in the binder variable makes it work... > Is the !(bind...) in the merge module itself or are y

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread Bob Arnson
Tony Juricic wrote: > If Pyro is not ignoring 4th version number then it must be that I am breaking > some component rules?! > I haven't added or removed or renamed any component file or guid but I have > changed the target install directory name from MyProduct to MyProductV1 (to > be created un

Re: [WiX-users] Component Permanent=yes vs. custom action to copy a file

2008-07-31 Thread Bob Arnson
dB. wrote: > My product has a configuration file. We want it to stay on the machine > when the product is uninstalled since the user might have changed it. We > copy configuration files at installation time in a very nicely > implemented custom action that copies files outside of component > rules.

Re: [WiX-users] ServiceInstall account problem

2008-07-31 Thread Bob Arnson
Daniel Rieck wrote: > 1) I'm getting error 1923. > 1923 almost always indicates a problem with the attributes on the ServiceInstall element, such as a bad user/password combination. Can you show what yours looks like? -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread Tony Juricic
If Pyro is not ignoring 4th version number then it must be that I am breaking some component rules?! I haven't added or removed or renamed any component file or guid but I have changed the target install directory name from MyProduct to MyProductV1 (to be created under Program Files folder). Co

[WiX-users] Component Permanent=yes vs. custom action to copy a file

2008-07-31 Thread dB.
Hi, My product has a configuration file. We want it to stay on the machine when the product is uninstalled since the user might have changed it. We copy configuration files at installation time in a very nicely implemented custom action that copies files outside of component rules... I've just

Re: [WiX-users] ServiceInstall account problem

2008-07-31 Thread Wilson, Phil
I don't recall seeing your Wix source - might be useful to post it. The service isn't marked interactive is it? Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Rieck Sent: Thursday, July 31, 2008 12:00 PM To: General discussion for W

Re: [WiX-users] ServiceInstall account problem

2008-07-31 Thread Daniel Rieck
No, it's just my service exe and the four framework assemblies I mentioned earlier (mscorlib, System, System.Drawing, System.ServiceProcess). I previously used a deployment project from Visual Studio to install the same service, which worked fine. When it worked, that is, because the custom ac

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Christopher Karper
Breakthrough!!! It's a merge module, and the file id needs the GUID put in to work. I wouldn't think that was how it's *supposed* to work, but adding the package guid to the file id in the binder variable makes it work... Chris On Thu, Jul 31, 2008 at 2:05 PM, Rob Mensching <[EMAIL PROTECTED]>

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Rob Mensching
Well, there goes that theory. Here is what I have and it is working: Can you verify whether that works for you? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Karper Sent: Thursday, July 31, 2008 11:02 To: General discussion for Windo

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Christopher Karper
3.0.4325 On Thu, Jul 31, 2008 at 1:51 PM, Rob Mensching <[EMAIL PROTECTED]>wrote: > What version of the WiX toolset? > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Christopher Karper > Sent: Thursday, July 31, 2008 10:16 > To: General discussion

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Rob Mensching
What version of the WiX toolset? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Karper Sent: Thursday, July 31, 2008 10:16 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Binder variables from Votive Neithe

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread Tony Juricic
I see, validation is used during patch application. Regarding the patch family I have defined only one family, following the example from Peter's blog and changing a few attributes like Manifacturer, DisplayName and similar. In my case that should be sufficient because the product has only on

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Christopher Karper
Neither of these worked. I don't understand why *none* of the binder variables are working. I tried this for my x86 and x64 configs to make sure it wasn't a platform issue. I get the same issue either way though. Thanks for the ideas. Chris On Thu, Jul 31, 2008 at 12:06 PM, Bob Arnson <[EMAIL

Re: [WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Dana Gutride
I'm not sure if you can do this in vbscript, you can definitely do what you are asking in c++. On Thu, Jul 31, 2008 at 12:18 PM, Zane Zeeh <[EMAIL PROTECTED]> wrote: > Ok, so by custom action do you mean one that would call a vb script to > retrieve these values and set the properties or is the

Re: [WiX-users] Determining the port number of the default IIS website

2008-07-31 Thread Neil Sleightholm
A word of warning, on Windows 2003 the default site might not be at ID 1 and "IIS://localhost/W3SVC/1" would fail. It is when you initially install but if you where to delete the default and recreate it it would have an ID that is a hash of the name. Neil -Original Message- From: [EMAI

[WiX-users] Wix 3.0 Com+ deployment question.

2008-07-31 Thread Mo Benmouffok
Hi, I've been using Wix 2.0 and trying to upgrade to Wix 3.0.4311. One of my setup uses COM+. I can see that there is now a new extension called "WixComPlusExtension.dll", but could not find anywhere how to use it. My question is the following. How to I use this extension to compile my setup i

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread Heath Stewart
The -val switch is actually to set transform validation flags and has nothing to do with validation during generation. See http://blogs.msdn.com/heaths/archive/2007/09/13/transform-validation-in-wix-patch-build.aspx for more information about that feature. Have you defined patch families in your p

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread Tony Juricic
Are you saying that there is some way to get better error diagnostics from Torch? I added -v option for verbosity but it has no effect. In fact, I can't even figure out how do validation flags validate?! For example, once I run Torch with -val y, next time with -val v, keeping the same wixout inp

Re: [WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Zane Zeeh
Ok, so by custom action do you mean one that would call a vb script to retrieve these values and set the properties or is there some other sort of CA that I can use? Thank you for responding -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dana Gutride S

Re: [WiX-users] Binder variables from Votive

2008-07-31 Thread Bob Arnson
Christopher Karper wrote: > I still can't get any of these binder variables to work. Does anyone have > some time to take a look at it? Thanks in advance. :-D > Two random things to try: 1. Rename the File/@Id so it doesn't have a dot in it. (The RegEx looks right, but...) 2. Try putting th

Re: [WiX-users] Non-admin user can add remove feature, no UAC dialog

2008-07-31 Thread Bob Arnson
yixie wrote: > I found my installer don't require elevation if "change" or "repair". > Although tt'll require elevation and UAC dialog popup if "install from not > installed state", or "remove". > That's by design. It's "sticky elevation" that doesn't require admin approval for something an ad

Re: [WiX-users] DTF FeatureParent

2008-07-31 Thread Bob Arnson
Buddell, James wrote: > I'm using DTF but cannot find an implementation of the > Installer.FeatureParent property. If the MSI API doesn't expose the information, DTF doesn't either. I doubt the feature parent/child information is persisted outside the .msi package; in the end, MSI installs a li

Re: [WiX-users] UAC + devenv setup

2008-07-31 Thread Bob Arnson
John-Daniel Trask wrote: > I explored the WIX output that Visual Studio automatically generates for > Visual Studio packages it has the comment that devenv /setup needs to be > called after finalize as if anything is getting GAC'd it won't be available > until that point. > You can try a commit

Re: [WiX-users] Q regarding uninstalling a feature

2008-07-31 Thread Bob Arnson
Vidya Kukke wrote: > My installer requires the ability to install and uninstall single/multiple > features. > I was able to create the node to achieve the installation on a per > feature basis. However the uninstall always removes the entire product. What > am I missing? I am doing the uninstal

Re: [WiX-users] adding current date time to folder name

2008-07-31 Thread Alexander Shevchuk
There are Date (http://msdn.microsoft.com/en-us/library/aa368261(VS.85).aspx) and Time (http://msdn.microsoft.com/en-us/library/aa372079(VS.85).aspx) properties, but they return data in the format which is incompatible with file names. You have to use custom action here. -Original Messa

Re: [WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Dana Gutride
Looks like retrieving a reg_multi_sz using the RegLocator table during AppSearch is not a great way of doing this. Plenty of places on the web document this oddity. I think you might just want to use a custom action instead of a registry search to retrieve this value and write it to a property.

[WiX-users] Patch Not Uninstallable

2008-07-31 Thread cemiles
I have a problem w/ my patch not being uninstallable. The only changes I made to my code were in the Directory table, RemoveFile table, Component table, and CA table. Basically at first I was making a copy of my msi to a shared dir on a server, but it was decided to move it to a subdir under whe

Re: [WiX-users] adding current date time to folder name

2008-07-31 Thread Rob Mensching
If you need to change the name at "install time" then you'll need a CustomAction. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abubakar Sent: Thursday, July 31, 2008 04:15 To: WiX-users Subject: Re: [WiX-users] adding current date time to folder name

Re: [WiX-users] UAC + devenv setup

2008-07-31 Thread Rob Mensching
The WiX3.msi registers with VS. I'm not an expert in that stuff but how is yours different than what the WiX toolset does? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John-Daniel Trask Sent: Wednesday, July 30, 2008 18:26 To: wix-users@lists.sourcefo

Re: [WiX-users] Custom error based on the reslult of a custom action

2008-07-31 Thread Rob Mensching
No. Exe's are not provided any information to communicate with the Windows Installer. One of many reasons DLL CustomActions are recommended when a CustomAction is absolutely necessary. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Wednes

Re: [WiX-users] ServiceInstall account problem

2008-07-31 Thread Rob Mensching
Is the service dependent on any assemblies that you install to the GAC? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Rieck Sent: Thursday, July 31, 2008 00:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Serv

Re: [WiX-users] Searching the Wix mailing list

2008-07-31 Thread Rob Hamflett
You can use this page for searching: http://news.gmane.org/gmane.comp.windows.devel.wix.user Rob Christopher Karper wrote: > I just subscribe and use gmail to sort mine. :-) > > I think a lot of people here use Nabble, maybe you'd have better luck with > that? > > Chris > > On Thu, Jul 31, 20

Re: [WiX-users] Searching the Wix mailing list

2008-07-31 Thread Christopher Karper
I just subscribe and use gmail to sort mine. :-) I think a lot of people here use Nabble, maybe you'd have better luck with that? Chris On Thu, Jul 31, 2008 at 11:08 AM, Zane Zeeh <[EMAIL PROTECTED]> wrote: > Is there some secret to searching through the wix-users mail archive? I get > no resu

[WiX-users] Searching the Wix mailing list

2008-07-31 Thread Zane Zeeh
Is there some secret to searching through the wix-users mail archive? I get no results returned no matter what I enter into the Mailing Lists search. I've tried the advance search and that returns no results either. - This SF

Re: [WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread peteyates
There is a share proderrors or something Pete Yates Senior Systems Developer DDC - Distributed & Components Team HBOS I&I IT B/1/C/243 (7725) 34383 / (0117) 376 4383 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Juricic

[WiX-users] RegistrySearch on a REG_MULTI_SZ

2008-07-31 Thread Zane Zeeh
I'm trying to get the default SQL Server Instance using the following: This SHOULD return one or more values in the format ~InstanceName1~InstanceName2~InstanceName3. Mine however returns nothing, even though there is a value there. If I use this same Property against a string registry value it

[WiX-users] Does Pyro (or Torch) ignore 4-th version number?

2008-07-31 Thread Tony Juricic
I have 120 MB large Wixmst created by Torch and when I pass it to Pyro it comes back with the message PYRO1079 saying that patch cabinet contains no files. My DLLs in RTM and Update respectively differ in the last, 4-th version number, plus the binaries themselves are different. Using SDK tool

[WiX-users] check for Empty INSTALLDIR

2008-07-31 Thread Anidil
I use the following condition to check for empty path edit box and disable "Next" button if empty.But it doesn't disable "Next" button.. NOT INSTALLDIR <> "" Is this not i should be checking for empty pathEdit textbox? thanks Anidil -- View this message in context: http://www.nabble.com/check

[WiX-users] Help on defining custom return errors

2008-07-31 Thread Anidil
How can we change the error reference that MSI chooses to show the error if the installer returns a non 0 value? Appreciate if anyone can give me an insight on this thanks Anidil -- View this message in context: http://www.nabble.com/Help-on-defining-custom-return-errors-tp18755352p18755352.htm

[WiX-users] DTF FeatureParent

2008-07-31 Thread Buddell, James
Hi all, I'm using DTF but cannot find an implementation of the Installer.FeatureParent property. I can work around this by opening a session on the product and querying the Feature table, but would rather not as starting the session is very slow and I am enumerating a number of apps. I can see th

Re: [WiX-users] Torch error 0048

2008-07-31 Thread Tony Juricic
Ok, so renaming my wixpdb files, produced as described above, to wixout extension solved the problem for torch input and it produced wixmst output file. Thus, apparently, wixpdb can exist only in XML format, while wixout is binary. Based on Peter Marcu's blog I understood that wixpdb substitutes

Re: [WiX-users] adding current date time to folder name

2008-07-31 Thread Abubakar
Anybody? I can also afford to call a cpp function here if needed. Any example of that? ..ab On Wed, Jul 30, 2008 at 12:18 PM, Abubakar <[EMAIL PROTECTED]> wrote: > Hi, > I write the following tags for my folder: > > > > > > > Now in the name "[EMAIL PROTEC

Re: [WiX-users] Determining the port number of the default IIS website

2008-07-31 Thread José Diaz Seng
Hi, I solved my problem as follows, maybe it is of use to someone else, too: As described in the WiX wiki, I check for the availability of the scripting host (see http://www.wixwiki.com/index.php?title=VBScript_Tutorial). A custom action then takes care of setting the port number property:

Re: [WiX-users] ServiceInstall account problem

2008-07-31 Thread Daniel Rieck
1) I'm getting error 1923. 2) The installation rolls back. 3) It's C# 2.0. 4) I'm not showing any UI. The service acts as a small web server. It's listening for HTTP requests and sends back images created on the fly. I considered IIS as a host, but I can't be sure my customers will have that