Re: [WiX-users] Component condition question

2011-04-14 Thread Bob Arnson
On 14-Apr-11 20:48, Greg wrote: > Is this a bad idea: I am setting InstallMode in a custom action, for example > when the Change button is selected: > Session.Property("InstallMode") = "Change" Sorry, I forgot that I renamed install mode for WixUI. There's no conflict. > I understand the potentia

Re: [WiX-users] WiX 3.6 Burn Problem -- How to run EXE in place instead of caching?

2011-04-14 Thread Bob Arnson
On 14-Apr-11 22:07, John Robbins wrote: > Hope you don't mind another question. :) Why does Burn expand into the %TEMP% > directory and copy to the cache directory? Why not just extract the files > from the EXE directly into the cache directory? The installer I'm working on > with everything is

Re: [WiX-users] WiX 3.6 Burn Problem -- How to run EXE in place instead of caching?

2011-04-14 Thread John Robbins
As always, Bob thanks! The fog is parting a little. :) I'd noticed the "copy-to-cache-install-delete-from-cache" pattern with MSI files but didn't realize that it applied to ExePackage stuff as well. With the hints from you and David Watson, I got it working. No matter what I tried, if the fil

Re: [WiX-users] Component condition question

2011-04-14 Thread Greg
Thanks Bob. I may be painting myself in a corner with that condition. But I think there must be a bug somewhere in one of my custom actions or in some wix code change I made that's causing the condition to fail. Is this a bad idea: I am setting InstallMode in a custom action, for example when

Re: [WiX-users] Sql component ignored during msp install

2011-04-14 Thread Bob Arnson
On 29-Mar-11 03:53, Tobberoth wrote: > Indeed, it seems that the feat_newsql is ignored even though I've set > REINSTALL=ALL on the command line and even though the feature is coded like > this: Reinstall won't install a feature for the first time; for that, you need ADDLOCAL. -- sig://boB http

Re: [WiX-users] Component condition question

2011-04-14 Thread Bob Arnson
On 11-Apr-11 19:43, Greg wrote: > I have a component with the following condition: > "Remove"]]> That's problematic for two reasons: 1. InstallMode is an internal property and isn't guaranteed. 2. String comparison operators don't work c

Re: [WiX-users] Redefining Preprocessor Variables

2011-04-14 Thread Bob Arnson
On 14-Apr-11 16:36, Amber Scouras wrote: > Is there any way to redefine a preprocessor symbol? it first. -- sig://boB http://joyofsetup.com/ -- Benefiting from Server Virtualization: Beyond Initial Workload Consolida

Re: [WiX-users] WiX 3.6 Burn Problem -- How to run EXE in place instead of caching?

2011-04-14 Thread Bob Arnson
On 14-Apr-11 12:31, John Robbins wrote: > I've played around trying to get the element to work but nothing > I've tried tells Burn just run the one in the directory > .\PreReq\CrystalReportsXIR2\ under MyBurnSetup.exe. Burn always runs packages from the cache; if @Cache="no" then Burn deletes

Re: [WiX-users] ICE60 and DefaultLanguage

2011-04-14 Thread Bob Arnson
On 07-Apr-11 07:21, Pally Sandher wrote: >warning LGHT1101: The DefaultLanguage '0' was used for file 'SALFLIBC.DLL' > which has no language. Specifying a language that is different from the > actual file may result in unexpected versioning behaviour during a repair or > while patching. Eith

Re: [WiX-users] Custom Font Color for Dialog Subtitle

2011-04-14 Thread Bob Arnson
On 04-Apr-11 15:35, Francisco Gabriel Malbrán wrote: > I would like to know if there is any way to change the Dialog's subtitle > font color independently from the text in the content of a dialog. You can add your own localization strings to add a text style. Otherwise, no; the strings in the sub

Re: [WiX-users] Redefining Preprocessor Variables

2011-04-14 Thread Amber Scouras
Yes, that worked for me! Thanks John! I feel silly for not noticing the undef directive, but hopefully this will be archived online for the next person who overlooks it. :) -Original Message- From: John Robbins [mailto:j...@wintellect.com] Sent: Thursday, April 14, 2011 2:33 PM To: Gen

Re: [WiX-users] Redefining Preprocessor Variables

2011-04-14 Thread John Robbins
According to the docs, this should work (I haven't tried it) John Wintellect http://www.wintellect.com +1-877-968-5528 -Original Message- From: Amber Scouras [mailto:amber.scou...@thetradedesk.com] Sent: Thursday, April 14, 2011 1:36 PM To: wix-users@lists.sourceforge.net Subject:

[WiX-users] Redefining Preprocessor Variables

2011-04-14 Thread Amber Scouras
When building, if I attempt to redefine a preprocessor variable, like so: I get the following error: The variable 'MYVAR' with value '2' was previously declared with value '1'. Is there any way to redefine a prep

Re: [WiX-users] Multi-Instance Major Upgrades

2011-04-14 Thread Tyler Walters
RemoveExistingProducts is part of the MajorUpgrade element. The Schedule attribute is what schedules RemoveExistingProducts. Thanks for the advice though. I am thinking I may have to do a custom action that modifies the UpgradeTable at install time, if that is even possible. On Thu, Apr 14, 2011

Re: [WiX-users] Multi-Instance Major Upgrades

2011-04-14 Thread Chris Lord
Tyler, Problem 1 - In order for a major upgrade to work, you have to call RemoveExistingProducts to remove older versions. Given your post, I don't see that in your execute sequence. Problem 2 - I can't offer any advice for that, sorry. Chris On 04/14/2011 12:35 PM, Tyler Walters wrote: >

[WiX-users] LGHT0001: The device is not ready

2011-04-14 Thread Daniel Moody
Our IT department upgraded the hard drives in our company's build station yesterday, and since that time, I've been unable to build WiX installers on it. I get the error: light.exe : error LGHT0001: The device is not ready. I am building the installers using MSBuild 4.0.30319.1 and WiX 3.5.2519.0

Re: [WiX-users] WiX 3.6 Burn Problem -- How to run EXE in place instead of caching?

2011-04-14 Thread John Robbins
I've played around trying to get the element to work but nothing I've tried tells Burn just run the one in the directory .\PreReq\CrystalReportsXIR2\ under MyBurnSetup.exe. Thanks in advance! John Wintellect http://www.wintellect.com +1-877-968-5528 -Original Message- From: David Wa

[WiX-users] Multi-Instance Major Upgrades

2011-04-14 Thread Tyler Walters
Currently I can do a major upgrade of a specific instance. There are a couple problems though. 1. The default instance is upgraded fine. The transforms are upgraded, BUT the previous version is not removed. So they both show up in ARP. 2. I need to be able to not downgrade a specific instan

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
That is a good suggestion. I will try that. Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: Thursday, April 14, 2011 9:50 AM To: General discussion for Windo

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread David Watson
Can't you just use XMLFile@PreserveModifiedDate in that case? -Original Message- From: Kevin Burton [mailto:kev...@buyseasons.com] Sent: 14 April 2011 15:04 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX force copy file. Part of the problem I beli

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Umeshj
I have faced this problem sometime back and I had tried several approaches based on what others had suggested. I will enumerate them here but I was not successful in solving this (Perhaps I was committing other errors). 1. Simulate installshield's 'always Overwrite' attribute. You can try giving

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
Part of the problem I believe is that because after the file is installed it is changed with tasks so WiX doesn't remove this file on uninstall. The other files (assemblies, etc.) get removed on uninstall so I always get what is in the .msi file. Right now works and maybe that is the solution.

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
>From the documentation it seems that DefaultVersion is an arbitrary string. If >I set it to "1.0" then somehow WiX keeps track of this version and always >overwrites versions that are "1.0"? And if in the future I change it to "2.0" >it will not overwrite "1.0" with "2.0"? Is that how it works?

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread David Watson
You can version lie, buts its usually not a good idea as the file will get replaced every time the installation is run (it's what installshield does when you click "always overwrite"). If you really need to do it then you set File@DefaultVersion to a valid file version. Dave -Original Messag

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
But won't that affect all files? I just want to overwrite this one file. -Original Message- From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] Sent: Thursday, April 14, 2011 7:40 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX force copy file. Change REINS

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread maksim.vazhenin
Change REINSTALLMODE property. -Original Message- From: Kevin Burton [mailto:kev...@buyseasons.com] Sent: Thursday, April 14, 2011 4:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX force copy file. How do I mark a file 'versioned' so it will o

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Kevin Burton
How do I mark a file 'versioned' so it will overwrite? Of course other than inserting the as suggested by Chad Petersen. Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -Original Message- From: Umeshj [mailto:umesh_jogle...@ho

Re: [WiX-users] How to force do not uninstall some drivers.

2011-04-14 Thread Shal Philipp
thanks a lot! the solution with REMOVE property looks good for me. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-force-do-not-uninstall-some-drivers-tp6271750p6272383.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] WiX 3.6 Burn Problem -- How to run EXE in place instead of caching?

2011-04-14 Thread David Watson
Hi, Have you tried putting elements under your for the extra files? Dave -Original Message- From: John Robbins [mailto:j...@wintellect.com] Sent: 14 April 2011 07:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX 3.6 Burn Problem -- How to run EXE in place instead of cac

Re: [WiX-users] How to force do not uninstall some drivers.

2011-04-14 Thread Peter Shirtcliffe
You'll need something to set the REMOVE property. http://msdn.microsoft.com/en-us/library/aa371194%28v=vs.85%29.aspx Alternatively, you could possibly make some components permanent but that's going to be messy because there's no way to ever remove the drivers cleanly. For an in-house application,

Re: [WiX-users] How to force do not uninstall some drivers.

2011-04-14 Thread Shal Philipp
Peter Shirtcliffe wrote: > > You can uninstall features without removing everything. > How? How can i install features always but uninstall them only by condition? Peter Shirtcliffe wrote: > > I thought you were > trying to selectively uninstall drivers. > yes. the situation is that I ha

Re: [WiX-users] How to force do not uninstall some drivers.

2011-04-14 Thread Peter Shirtcliffe
You can uninstall features without removing everything. I thought you were trying to selectively uninstall drivers. -Original Message- From: Shal Philipp [mailto:luc2...@inbox.ru] Sent: 14 April 2011 09:25 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to force do not u

Re: [WiX-users] How to force do not uninstall some drivers.

2011-04-14 Thread Shal Philipp
Peter Shirtcliffe wrote: > > Could you put the drivers into different features ? > yes. I think I can. cause they belong to hidden and "alwaysinstall" feature. and how can it help? sorry, cant see the solution anyway. -- View this message in context: http://windows-installer-xml-wix-toolset.6

Re: [WiX-users] How to force do not uninstall some drivers.

2011-04-14 Thread Peter Shirtcliffe
Could you put the drivers into different features ? -Original Message- From: Shal Philipp [mailto:luc2...@inbox.ru] Sent: 14 April 2011 07:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to force do not uninstall some drivers. Hi, all. Is there a possibility don't uninst

[WiX-users] FW: Troubles installing a web site on Windows Server 2008

2011-04-14 Thread Matteo Canessa
No hints for the error below? Need more information? IIS 7.5 is running on that machine Thank in advance, Matteo Canessa From: Matteo Canessa Sent: martedì 12 aprile 2011 17:45 To: 'wix-users@lists.sourceforge.net' Subject: Troubles installing a web site on Windows Server 2008 Hi to all, I'm

Re: [WiX-users] WiX force copy file.

2011-04-14 Thread Umeshj
Rule for unversioned files is that if a file is modified after creation then it will not be overwritten. This is with the rationale that if a user has modified it then it should be left undisturbed. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX