Re: [WiX-users] persistent properties sample

2006-09-25 Thread HvPutten
Thank you for your reply. I tried setting reinstallmode to no avail. I knew i needed to reinstall so i checked the reinstall option in the wixuserlib. It uses predefined customactions ReinstallMode\Reinstall, tried it and now it works. My main problem was/is i could not find any complet sample.

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Jeff MacDuff
Is a previous version is detected, what’s the action the MSI takes?   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Monday, September 25, 2006 9:28 PM To: Jeff MacDuff Cc: Wilson, Phil; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Quic

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Bob Arnson
Jeff MacDuff wrote: That’s the weird thing, I am not doing anything special for English.. there’s no English special syntax I don’t believe. Earlier you mentioned prompting for the upgrade; MSI doesn't do that so there's gotta be something extra. -- sig://boB http://bobs.

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Jeff MacDuff
That’s the weird thing, I am not doing anything special for English.. there’s no English special syntax I don’t believe.   From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 6:36 PM To: Jeff MacDuff Cc: Wilson, Phil; wix-users@lists.sourceforge.net Subjec

[WiX-users] WiX 3.0.2120.0 and MSBuild variables

2006-09-25 Thread Peter Skelly
Hello all,   I know it is dated, but in the MSDN article on WiX (http://msdn.microsoft.com/library/default.asp?url="" , there was a mention of using variables within Visual Studio like so - $(var.MyApp.TargetFileName).    Does this capability, or anything like it, exist in 3.0.2120.0?

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Bob Arnson
Jeff MacDuff wrote: It did find the German V1 … however it didn’t stop the install of V2 / uninstall v1 How are you doing that for English? -- sig://boB http://bobs.org - Take Surveys. Earn Cash. I

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Jeff MacDuff
It did find the German V1 … however it didn’t stop the install of V2 / uninstall v1   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Monday, September 25, 2006 6:03 PM To: Jeff MacDuff Cc: Wilson, Phil; wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] Disabling Next if no features selected

2006-09-25 Thread Bob Arnson
Douglas Watts wrote: I thought a search would turn up this question but it didn’t.  I have 3 features that are installable.  If the user sets all 3 to “not to be installed” then I want the Next button to be disabled.  It sounds simple but I’m not sure how other than modifying the

Re: [WiX-users] Disabling the next button in a feature tree dialog when no features are selected

2006-09-25 Thread Bob Arnson
Jason Hartman wrote: > Although the logic seems to be ok, it doesn't dynamically update the > conditions like radio buttons or checkboxes(?) do. I understand that I > could add , > but this seems to only disable the button if there are no features in > the tree (which I know won't be the case). >

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Bob Arnson
Jeff MacDuff wrote: Ok so I have gone through the logs a few times…   In the FindRelatedProducts section of the MSI it does find 1 related product… however the GUID it lists is the “ProductCode” of the Old ( V1) MSI… not the UpgradeCode. It finds it by the upgrade code b

Re: [WiX-users] Using WebServiceExtension to allow ASP .NET ends up duplicating them

2006-09-25 Thread andresj_wix
Sorry, now attaching the correct picture - Original Message - From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Sent: Monday, September 25, 2006 2:27 PM Subject: Using WebServiceExtension to allow ASP .NET ends up duplicating them Hi there. S

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Jeff MacDuff
Ok so I have gone through the logs a few times…   In the FindRelatedProducts section of the MSI it does find 1 related product… however the GUID it lists is the “ProductCode” of the Old ( V1) MSI… not the UpgradeCode.   From reading WIX , it was my understanding that the new MSI (V2) sh

Re: [WiX-users] WiX3.0 - Incorporating release path into File Source attribute using Visual Studio 2005

2006-09-25 Thread Cullen Waters
I don’t think that the build system we use is analogous to either of those.  However, for the visual studio build, you could probably make msbuild set that environment variable, in the project file for the project you’re building.  Then, when candle and light are called, the variable will b

Re: [WiX-users] WiX3.0 - Incorporating release path into File Source attribute using Visual Studio 2005

2006-09-25 Thread Ed Abshire
So out of curiosity, where did you set that in your build process?   I have two scenarios:   1) Desktop builds using the Visual Studio IDE 2) Team Foundation Server using MSBuild   For scenario one, I was thinking in the compiler properties of the WiX Project, where it allows you to set a na

Re: [WiX-users] how to enforce assembly to be gac'd even whenthereisalready a copy in the gac

2006-09-25 Thread Mike Dimmick
http://msdn.microsoft.com/library/default.asp?url="">:   "The in-place update of a .NET Framework Assembly requires .NET Framework 1.1 SP1 or greater."   I think my experience predates .NET 1.1 SP1. Certainly I recall being bitten by trying to replace a component in the GAC with the same assembl

Re: [WiX-users] install multiple instances of app?

2006-09-25 Thread Rob Mensching
No, you can't. Only a transform can be applied at the right time to change those values. Furthermore, I would not recommend using Script for CustomActions ever. -Original Message- From: Dmitry Briliuk [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 12:29 PM To: Rob Mensching

Re: [WiX-users] WiX3.0 - Incorporating release path into File Source attribute using Visual Studio 2005

2006-09-25 Thread Cullen Waters
The way we do it is using environment variables.  Our build process sets an environment variable for build type(called BuildType), then we reference that in wix using $(env.BuildType)   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Abshire Sent: Monday, September 25,

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-09-25 Thread Wilson, Phil
I'm assuming that the requirement is to do an in-place update of an assembly into the GAC without changing the strong name, which means assembly version and strong name stay the same, and FileVersion is used in MsiAssemblyName. That's what FileVersion is for, so   "You should always change y

Re: [WiX-users] install multiple instances of app?

2006-09-25 Thread Dmitry Briliuk
Hello Rob, Thanks Also, is it possible to change ProductCode, ProductName and PackageId from inside msi by calling script? So, the msi will detect existing product by comparing it with new guid, generated by script? I have tried something like this: Session.Property["ProductName"] = "new product

[WiX-users] Disabling Next if no features selected

2006-09-25 Thread Douglas Watts
I thought a search would turn up this question but it didn’t.  I have 3 features that are installable.  If the user sets all 3 to “not to be installed” then I want the Next button to be disabled.  It sounds simple but I’m not sure how other than modifying the CustomDlg directly.  Any idea h

[WiX-users] WiX3.0 - Incorporating release path into File Source attribute using Visual Studio 2005

2006-09-25 Thread Ed Abshire
Howdy.   I am using a WiX project to build a MSI for a project I am working on in VS2005.  The WiX project is part of the whole solution.  I am trying to figure out how to make my WiX source file smart enough to figure out which biuld configuration I am using (release or debug) and gather the binar

[WiX-users] Disabling the next button in a feature tree dialog when no features are selected

2006-09-25 Thread Jason Hartman
Hi, I'm pretty new at this WiX stuff, so I apologize if I just haven't read the right help documentation yet. I have an installation project (in WiX 2.0, we'll be moving to 3.0 soon enough but not yet) with two features and a feature tree dialog. During installation, I would love to have somethi

[WiX-users] Subscribe

2006-09-25 Thread Nima Hakami
Subscribe - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash

Re: [WiX-users] Directory element and Property

2006-09-25 Thread Bob Arnson
Douglas Watts wrote: Thanks Bob.  However, we need to allow the user to specify the directory, including the drive.  I can’t use the “CommonAppDataFolder”; at least, not beyond using it as a default path.  In the fragment I gave, MYAPPDATADIR defaults to a directory und

Re: [WiX-users] persistent properties sample

2006-09-25 Thread Bob Arnson
HvPutten wrote: > In my install the user can set a cache size which is stored in the registry. > I can not get the registry value to change in the maintenace-menu/change > I have the dialog. > When you do a modify operation, you're telling MSI to install new features or remove existing ones. It

Re: [WiX-users] Hyperlink in installer UI

2006-09-25 Thread Bob Arnson
Alec Siu wrote: > I know from searching the archive that this question has been asked in the > past, but has there been any progress or has someone written a publicly > available custom action to allow display of a hyperlink in an installer > dialog? MSI doesn't support custom controls so a CA

Re: [WiX-users] CAQuietExec problem with asyncNoWait

2006-09-25 Thread Bob Arnson
Rob Hamflett wrote: then the reboot prompt doesn't appear until snclm is closed. It appears that the asyncNoWait part is being ignored, and the install is stalled whilst waiting for the QAQuietExec action to finish. It's an MSI restriction. From "Custom Action Return Processing Options

Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Bob Arnson
Jeff MacDuff wrote: The overall goal is that anytime I install the new package, it should prompt to remove the old package regardless of language. So if I have a English OS , with a DEU old package installed.. and I run the new DEU package on this OS it should prompt me. That's the case I

Re: [WiX-users] properties form previous versions

2006-09-25 Thread Bob Arnson
Alexander Gnauck wrote: > Is there a way to do this with "standard" Wix commands, > or only with a custom action and a native dll. > Write the values using RegistryKey/RegistryValue elements and load them using RegistrySearch. -- sig://boB http://bobs.org --

Re: [WiX-users] Installing COM components

2006-09-25 Thread Bob Arnson
Mike Dimmick wrote: > You can use the Class table to take away some of the pain of creating > the registry entries, although Rob Mensching has some reservations with > this apparently. I'm not quite sure why. The SDK currently calls out the > Typelib table as having problems with rollback. Using th

[WiX-users] Hyperlink in installer UI

2006-09-25 Thread Alec Siu
I know from searching the archive that this question has been asked in the past, but has there been any progress or has someone written a publicly available custom action to allow display of a hyperlink in an installer dialog? If not, is the recommended way to implement this via a dialog box wri

Re: [WiX-users] WIX 3.0: Creating IIS virtual directories

2006-09-25 Thread Matthew Janulewicz
I’m not sure, but this is what worked for me. I’m on XP and using the latest weekly build of Wix (2120.)     -Matt   From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 10:02 PM To: Matthew Janulewicz; wix-users@lists.sourceforge.net Subject: RE: Re:

Re: [WiX-users] auto-updates download using WiX

2006-09-25 Thread Cullen Waters
Check out the application updated block.  That is a block of library code that MSFT produced which handles checking for new versions, and updating, using BITS for the transfer.   App Updater was written against .NET 1.1, and they decided not to create a 2.0 version, since it would conflic

Re: [WiX-users] conditional files, repair

2006-09-25 Thread Rob Hamflett
I doubt it, because that's not a repair. You're adding new files to the installation. Rob Alexander Gnauck wrote: > Hello, > > i have conditional files in my setup. > eg: a license file which is only copied when it exists on the media > (same directory as the MSI). > > When a file is not on

Re: [WiX-users] conditional files, repair

2006-09-25 Thread Alexander Gnauck
Alexander Gnauck wrote: > Hello, > > i have conditional files in my setup. > eg: a license file which is only copied when it exists on the media > (same directory as the MSI). > > When a file is not on the media during the install, and does not get > installed for this reason, the repair instal

[WiX-users] conditional files, repair

2006-09-25 Thread Alexander Gnauck
Hello, i have conditional files in my setup. eg: a license file which is only copied when it exists on the media (same directory as the MSI). When a file is not on the media during the install, and does not get installed for this reason, the repair install also ignores this file. Is there a way

[WiX-users] CAQuietExec problem with asyncNoWait

2006-09-25 Thread Rob Hamflett
I've discovered what I think is a problem with CAQuietExec. I normally use 2.0.3719, but just checked this with 2.0.4415 to be sure. I want to run a program at the end of my installation called snclm.exe. I also have a reboot scheduled. If I run snclm like this: then everything works as

Re: [WiX-users] Conditional Uninstall?

2006-09-25 Thread Rob Hamflett
Using the same way installer 2 looks for installer 1, have installer 1 look for installer 2. You can then have an error message conditioned on REMOVE="ALL" AND INSTALL_2_FOUND. Rob Nick Meredith wrote: > Hi, > > > > I have two website installers. The second site uses resources provided >

[WiX-users] Conditional Uninstall?

2006-09-25 Thread Nick Meredith
Hi,   I have two website installers. The second site uses resources provided by the first and therefore requires it to be installed for correct operation. I am checking for the first being installed in the second sites installer. Is there a way to make the un-installation of the first web

[WiX-users] auto-updates download using WiX

2006-09-25 Thread vij
Hi All, Is there any feature in WiX which supports automatic updates download? If WiX doesn't support auto-updates feature, can some suggest me a better way to do this?   Any help/pointers will be highly appreciated!!     thanks Vij     All-new Yahoo! Mail - Fire up a more powerful e