Re: [WiX-users] (no subject)

2008-04-04 Thread teknolog
I did it after InstallFiles or MsiPublishBinaries. The problem I keep running into is that it will not uninstall. I am parusing the Windows Installer documentation in parallel to this. Thanks, RG > Deferred custom actions must be scheduled between InstallInitialize and > InstallFinalize. > > -Bri

Re: [WiX-users] Using Variables defined in a Wise installer

2008-04-04 Thread Andres Aguiar
Ok, that fixed it. I'm using Wix3.0 so the syntax is Thanks a lot! On Fri, Apr 4, 2008 at 7:55 PM, Jim Williams <[EMAIL PROTECTED]> wrote: > My guess is that the property name. MYPROPERTY, may be getting > modularized (appended with the merge module ID GUID, e.g. > MYPROPERTY.__3

Re: [WiX-users] Using Variables defined in a Wise installer

2008-04-04 Thread Jim Williams
My guess is that the property name. MYPROPERTY, may be getting modularized (appended with the merge module ID GUID, e.g. MYPROPERTY.____) when it is included in the main installation. So you might try adding the IgnoreModularization tag to your merge module's WiX so

[WiX-users] Using Variables defined in a Wise installer

2008-04-04 Thread Andres Aguiar
I have a Wise installer that includes a merge module created by WIX. I want to set a variable in Wise and use it in the Wix Merge module. I tried adding a "secure" property in Wise called MYPROPERTY and referenced it from the merge module with something like The key is saved empty. Any i

Re: [WiX-users] Custom dialog text based on features selected?

2008-04-04 Thread Dale Quigg
Answering my own post. > I'm trying to create a custom dialog that contains text based on > the features selected. > It appears to me that I can only define what dialog appears next > using feature conditions like; >Value="MG_CoreServerDlg" Order="2"> I resolved by creating 3 differen

Re: [WiX-users] How do I preserve a configuration file on a major upgrade?

2008-04-04 Thread dB.
I tried, but using FileId or putting FileCopy under a File will delete my file on uninstall and not using FileId silently did absolutely nothing and didn't show anything in the log. Basically I couldn't get it to work. Maybe a bug? Thx dB. From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] File Costing

2008-04-04 Thread Dustin Johnson
I think I figured out the issue.  I thought that the OutOfDiskSpace property was failing to be recalculated, but I was wrong.  Instead it was recalculating and still the C:\ drive didn't have enough space.  Thanks! -- Dustin Johnson CACE Technologies Tel: 530-758-2790 x109 Fax: 530-758-2781 ww

Re: [WiX-users] Bewildered and confused (installing multiple versions of an application plug-in)

2008-04-04 Thread jwatte
> UpgradeVersion/@Property attribute to conditionalize them. Use > UpgradeVersion/@OnlyDetect="yes" to avoid uninstalling the products. > > versions of the DLL are installed. Is putting these files in a subfolder > of > > the temp directory, and then chaining out to the EXE the right thing to

Re: [WiX-users] (no subject)

2008-04-04 Thread Brian Simoneau
Deferred custom actions must be scheduled between InstallInitialize and InstallFinalize. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, April 04, 2008 2:24 PM To: Bob Arnson Cc: wix-users@lists.sourceforge.

Re: [WiX-users] (no subject)

2008-04-04 Thread teknolog
Still no luck. It now fails to install all together. To give more context, I chain all the commands after InstallFinalize. Look in the original email for entire code. Thanks, RG > [EMAIL PROTECTED] wrote: >> > Id="LaunchFile" >> Property="STUBENV" >> Exe

[WiX-users] File Costing

2008-04-04 Thread Dustin Johnson
I know that this has been discussed here before, but I'm having problems with file costing.  I want to determine if there is free space on the selected volume right after the install directory is selected.  I would be very appreciative of being pointed in the right direction. -- Dustin Johnso

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Robert O'Brien
Done. http://sourceforge.net/tracker/index.php?func=detail&aid=1934684&group_id=105970&atid=642717 From: Justin Rockwood Sent: Friday, April 04, 2008 10:38 AM To: Robert O'Brien; Jason Ginchereau; 'wix-users@lists.sourceforge.net' Subject: RE: [WiX-users] is there a way to access wixproj macro v

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Justin Rockwood
Sounds like a nice thing to have. Would you mind logging a feature request including the text of your message (you explained it very well)? You can do it here: http://sourceforge.net/tracker/?group_id=105970&atid=642717 Thanks, Justin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[WiX-users] Custom dialog text based on features selected?

2008-04-04 Thread Dale Quigg
Hi, I'm trying to create a custom dialog that contains text based on the features selected. Assume I have Feature-A and Feature-B. If only Feature-A is selected, I want the dialog text to be; "The Simple Mail Transfer Protocol Service (SMTPSVC) will be restarted" If only Feature-B is selected

Re: [WiX-users] WiX temporary files?

2008-04-04 Thread Georgi Shopov
Hi Bob, Custom action code in binary is OK; The question is can I carry data for the custom action in another binary? What I am trying to do is silently uninstall formar InstalShield installation of the product; To be silent InstallShield requires external file (called silent response file); T

Re: [WiX-users] WiXSqlExtension issue on Vista with UAC

2008-04-04 Thread Bob Arnson
Sajo Jacob wrote: > TerminalServerAware should be set to "No" and Impersonate should be > set to "no", that should fix it. As I've mentioned before, making them non-impersonated might fix SQL Express but would break SQL Server. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] How do I preserve a configuration file on a major upgrade?

2008-04-04 Thread Bob Arnson
dB. wrote: I have a configuration file config/Config.xml, that I managed to preserve by copying a Config_Original.xml to Config.xml at clean install only (never install Config.xml). I couldn't get this to work with CopyFile -- it never ran without a FileId or forced a file to be uninstalled

Re: [WiX-users] (no subject)

2008-04-04 Thread Bob Arnson
[EMAIL PROTECTED] wrote: >Id="LaunchFile" > Property="STUBENV" > ExeCommand="/installA" /> >Id="LaunchFile2" > Property="STUBENV" > ExeCommand="/loadProfile .\Profile\Settings.settings" /> > These are immediate custom actions, so they run during s

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Robert O'Brien
Having access to the Wix project project-related variables would be very helpful.The way we setup our sources is that we have every .csproj use the following project settings, and hopefully now .wixproj given msbuild support in the 3.0 work. http://schemas.microsoft.com/developer/msbuild/20

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Jason Ginchereau
The project-related variables are only generated for project references. You don't get project variables for the WiX project itself. (Hmm... would that be a nice feature to have?) So you need to add a reference from your WiX project to another application project to get variables for that projec

Re: [WiX-users] Upgrade Problem with WIX installer

2008-04-04 Thread Sebastian Brand
Did you change the product code in the upgrade? What's the command prompt's parameters? Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Apr 4, 2008, at 12:36 , amitchopra wrote: > > Hi, > > I have created an installer using WIX. When i am upgrading it using > co

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Robert O'Brien
I removed the false setting from my wixproj file which I had added earlier to address the following warning "(default target) (1) ->(AddSolutionDefineConstants target) -> C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.0\Wix.targets : warning : Solution properties are only available during

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Robert O'Brien
Tried using $(var.ProjectDir) in a File Source attribute field and got a "Undefined preprocessor variable '$(var.ProjectDir)'." compiler error. Tried using the "List of Supported Project References" documented $(var.SolutionDir) variable which the documentation suggests is supported and got the

[WiX-users] Help on custom action to delete a stopped service entry

2008-04-04 Thread Anidil
I have a CA that delete a stopped service entry from the service console as follows And a property that search for the service registry entry: and its been sequenced as : REMOVE="ALL" AND NOT (SERVICECHECK = "YES") REMOVE="ALL" AND NOT (SERVICECHECK = "YES") T

Re: [WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Robert O'Brien
. . . according to help doc section entitled "List of Supported Project References" it would suggests that using $(var.) works for a set of $(Solution*) macro values. Should one expect using this method to reference in wix soures other standard issue project macros not specifically mentioned in

Re: [WiX-users] is there a way to pass define preprocessor variable settings when buliding using tfs msbuild processing

2008-04-04 Thread Mooney, Stephen
Use the DefineConstants Property. Give the wix.targets file a read for all the properties you can set for candle. Configuration=$(Configuration) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert O'Brien Sent: 04 April 2008

[WiX-users] is there a way to pass define preprocessor variable settings when buliding using tfs msbuild processing

2008-04-04 Thread Robert O'Brien
In my wixproj settings UI I can define preprocessor variable settings that are then passed to candle at build time, e.g. "candle.exe -dSomePreProcessorVariable=Foo" Is there a way when building the wixproj usingtfs msbuild processing, e.g. "msbuild.exe mySetup.wixproj /??? SomePreProcessorVaria

[WiX-users] How do I preserve a configuration file on a major upgrade?

2008-04-04 Thread dB.
I am doing a major upgrade of a service application. I managed to preserve the service information by removing InstallServices and DeleteServices during UPGRADINGPRODUCTCODE and OLDERVERSIONBEINGDETECTED. This has one drawback that I can't add a new service to the application any more during a

[WiX-users] is there a way to access wixproj macro values from within wix sources

2008-04-04 Thread Robert O'Brien
is there a way to access .wixproj macro values from within wix sources? For example in csproj and wixproj settings, such as pre and post build events, one can make use of useful project related macro values such as $(Configuration), $(SolutionDir), $(ProjectDir), $(OutputPath), $(OutDir), $(Ta

[WiX-users] Crisp and hot items for everyone

2008-04-04 Thread Lucian Bollinger
My girlfriend says it’s cool I bought a pair of these and my wife could not even spot any difference. http://www.polefenit.com/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services fo

[WiX-users] Upgrade Problem with WIX installer

2008-04-04 Thread amitchopra
Hi, I have created an installer using WIX. When i am upgrading it using command prompt, it is upgraing my existing version. But when i am upgrading it by clicking it on the msi, it is giving error : "The version is already installed". Please let me know how to address this problem. Thanks in Ad

Re: [WiX-users] CustomAction in a Module to be executed as a Launchcondition?

2008-04-04 Thread BEN, Bent Nicolaisen, AT
Hi Bob That works like I wanted it, thanks! Bent From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 4. april 2008 01:56 To: BEN, Bent Nicolaisen, AT Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction in a Module to be executed as a

Re: [WiX-users] msi package compression

2008-04-04 Thread Koloszar Jozsef
that was it, thanks!!! i extracted .ico to use as bianries, and it did the trick, size down to 2.7MB cheers, joe > Message: 4 > Date: Thu, 03 Apr 2008 16:59:39 -0700 > From: Bob Arnson <[EMAIL PROTECTED]> > Subject: Re: [WiX-users] msi package compression > To: [EMAIL PROTECTED] > Cc: WiX-use