[WiX-users] IniFile trouble

2007-02-05 Thread Alexander
Good day! I have a problem using along with . Below is a piece of XML which generates a error: .. ... here are lots of ... here are lots of and other tags This stuff ends up with an error "Unresolved reference to symbol 'Directory:PLANTSETTING

Re: [WiX-users] IniFile trouble

2007-02-06 Thread Alexander
Could you please kindly show me an example how to do that? - Original Message - From: Bob Arnson To: Alexander Cc: wix-users@lists.sourceforge.net Correct. MSI needs a Directory table ID; a Property name won't suffice. However, you can provide a placeholder Dire

Re: [WiX-users] IniFile trouble

2007-02-08 Thread Alexander
Thanks a lot, it works :) - Original Message - From: Bob Arnson To: Alexander Cc: wix-users@lists.sourceforge.net Sent: Wednesday, February 07, 2007 7:19 PM Subject: Re: [WiX-users] IniFile trouble Alexander wrote: Could you please kindly show me an example how to

[WiX-users] Using cyrilic names for registry names/values

2013-11-25 Thread Smagin Alexander
Hello How can I use cyrilic names inside wsx?     I cannot change the paramentes and their values, but I need to recompile a msi. Previous project was created with wix 3.0. It worked defore. Now I used win 3.8 and it produced the error Error 1 A string was provided with characters that are n

[WiX-users] How to compile build wix by myself

2013-12-03 Thread Smagin Alexander
Hi people, I want to compile wix from source code, but I didn't find any readme files "how to comlipe wix". Could any one give suggestions which tools are used and where I can read anout it? Thanks, Alex. -- Rapidly t

Re: [WiX-users] How to compile build wix by myself

2013-12-03 Thread Smagin Alexander
it is best to build the entire toolset from the root >of the sources (after having built that one project file elevated) before you >descend into sub directories to work/build individual portions. Running the >developer command prompts for Visual Studio usually isn't necessary,

Re: [WiX-users] How to compile build wix by myself

2013-12-04 Thread Smagin Alexander
> >Simple way out: under src\packages, just open each folder and install what you >find there. > >-Blair > >From: Smagin Alexander >Sent: ‎Tuesday‎, ‎December‎ ‎03‎, ‎2013 ‎8‎:‎08‎ ‎AM >To: General discussion for Windows Installer XML toolset. > > >Blair, t

[WiX-users] How to execute CA after path is applied

2013-12-05 Thread Smagin Alexander
I have created a path (msp file)  as difference beetwen small update 1.0.0.0 to 1.0.0.1. One dll is changes. this dll is .Net assembly (COM Object). So I need to reregister it ( generate new tbl file) after the patch is applied. Does the path supported to perform some custom actions such as run

Re: [WiX-users] How to execute CA after path is applied

2013-12-05 Thread Smagin Alexander
ing the tlb file or wanting to re-create it during >the install, and how you originally created the typelib registration >entries, and if anything has actually changed in the interfaces and COM >registration. This can all be rather complicated. > >Phil Wilson > > >On Thu, D

Re: [WiX-users] How to execute CA after path is applied

2013-12-06 Thread Smagin Alexander
easily support patches without >> having to fight Windows Installer because the previous developer did it in >> a non-standard way. >> >> If your issue is with VBA, you may also need to deploy the tlb files with >> your installer as I don't believe that managed

Re: [WiX-users] Can different products contain conponents with the same ComponentId?

2013-12-06 Thread Smagin Alexander
If two products use the same componanet and they are installed in the same folder. product A complements product B, nevertheless these products can be installed separately.  in this case does the shared component (files)  leave unchnaged If one of them is uninstalled ? if not how to implement

[WiX-users] file content dependent delta patch bug within windows xp?

2011-08-25 Thread Alexander Stock
eeds Therefore it seems the delta patch of "dxRibbonD12.bpl" from sample_project\1.0 (file version 12.0.300.22) to sample_project\1.1 (file version 12.0.400.5) is somehow problematic for the MSI functionality on Windows XP. Any help and feedback to "fix" (or at

[WiX-users] problems with service installation

2011-09-20 Thread Alexander Nagel
2003 and Server 2008. Everywhere the package installs the files and the firewall rules, but not setup the service. Can please someone give me hint, whats it's missing? Regards, Alexander Here is a snippet of the .wxs file  http://schemas.microsoft.com/wix/2006/wi"; xmlns:

Re: [WiX-users] problems with service installation

2011-09-21 Thread Alexander Nagel
Hi David, thanks a lot for your answer. This was indeed the error. I moved the keypath to the file element and it works now :-) Alexander Am Wed, 21 Sep 2011 10:42:23 +0100 schrieb "David Watson" : > Oops don't think I explained that well, you should try moving the >

[WiX-users] Can't use property expansion in Control->Publish

2011-12-07 Thread Nevskiy, Alexander
Hi All! Here is my xml: ... ... ... ... ... 1 ... ... On executing light.exe I got the following error: error LGHT0094 : Unresolved reference to symbol 'CustomAction:[CustomSerialValidateProp]' in section 'Product:{3E8964C7-5FA5-4740-A3D6-191E2043963C}' According to http

[WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
know that ALL files have been deployed before I launch a custom config. Thank you very much for expertise and your help, Alexander -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you very much, Alexander On 23 February 2010 15:39, Wilson, Phil wrote: > Execute = deferred! That's what you need. Immediate is before files are > installed. > > Phil Wilson -- Download In

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Somehow *session.CustomActionData.Keys.Count *returns *0 * Any take? Thanks so much! On 23 February 2010 16:02, Wilson, Phil wrote: > That's DTF telling you that the session isn't available when deferred. I > assume DTF has a CustomActionData mechanism for passing property values into > your de

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
tem(TKey key) at Microsoft.Deployment.WindowsInstaller.CustomActionData.get_Item(String key) at ReportsInstaller.CustomActions.PostInstall(Session session) What would be my further step? Thank you so much, Alexander On 23 February 2010 16:02, Wilson, Phil wrote: > That's DTF telling you that the se

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thanks, Phil, you helped me a lot. Alex On 23 February 2010 17:13, Wilson, Phil wrote: > Somebody that knows DTF needs to jump in here - that's not my area. But you > *do* need a custom action that sets the convoluted CustomActionData > mechanism working. I assume that's what sets the dictionary

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you ever so much, Edwin, this is exactly what I needed. Works like magic. Alexander On 23 February 2010 18:39, Castro, Edwin G. (Hillsboro) < edwin.cas...@fiserv.com> wrote: > To reiterate what Phil said earlier, you need two custom actions. > CustomActionA will run in immedi

[WiX-users] WiX Integration with VS 2008 Problem

2010-03-10 Thread Alexander Volkov
Hi, I have two Visual Studios installed: 2005 and 2008. Somehow WiX project type did not get added to VS 2008. WiX works with VS 2005 as expected, though. Running ProjectAggregator does nothing noticeable. Did it with VS shut down, then restarted. What would be my steps to add WiX targets manuall

[WiX-users] WiX Integration with VS 2008 Problem

2010-03-12 Thread Alexander Volkov
Hi experts and users, I have two Visual Studios installed: 2005 and 2008. Somehow WiX project type did not get added to VS 2008. WiX works with VS 2005 as expected, though. Running ProjectAggregator does nothing noticeable. Did it with VS shut down, then restarted. What would be my steps to add W

[WiX-users] CreateFolder, Permission, ignore errors

2010-04-01 Thread Alexander Gnauck
I have a setup where a folder is created and permissions should be set. Under some conditions this can fail but should abort the installation on failure. With File there is the vital flag, but I have found nothing similar for CreateFolder and Permissions. Is there a way to ignore errors and not

Re: [WiX-users] CreateFolder, Permission, ignore errors

2010-04-05 Thread Alexander Gnauck
Am 03.04.2010 15:23, Bob Arnson wrote: > No, MSI doesn't offer that feature. thanks Bob Alex -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and

[WiX-users] MsiLaunchApp

2010-08-24 Thread Alexander Kozlenko
Hello. I didn't find an answer so will ask in this mailing list. Anybody can explain how can I migrate from WinShellExec custom action to MsiLaunchApp in WiX 3.5? Thanks. Alexander Kozlenko -- Sell apps to mil

Re: [WiX-users] MsiLaunchApp

2010-08-24 Thread Alexander Kozlenko
...@joyofsetup.com] Sent: Tuesday, August 24, 2010 6:04 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MsiLaunchApp On 24-Aug-10 07:26, Alexander Kozlenko wrote: > Hello. I didn't find an answer so will ask in this mailing list. > Anybody can explain how can I m

[WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-10 Thread Alexander Kozlenko
ompany.MyApplication") after run. I see that Acrobat Reader 9 has advertised shortcut too and this shortcut has all two menu items for pinning. What I'm doing wrong? Thanks. Additional project data: Targeting Windows 7 x64 only, WiX 3.5. Alexander Kozlenko -

Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Alexander Kozlenko
Di Lorenzo [mailto:fa...@dilorenzo.ch] Sent: Saturday, September 11, 2010 12:35 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Pin to Taskbar and Advertised shortcut HI Alexander, There is a kill list, do you know that? http://www.west-wind.com/weblog/posts/32765.a

Re: [WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-11 Thread Alexander Kozlenko
Hi Fabio, Thanks for code sample, but this doesn't help... Alexander Kozlenko -Original Message- From: Fabio Di Lorenzo [mailto:fa...@dilorenzo.ch] Sent: Saturday, September 11, 2010 5:31 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] P

[WiX-users] Embedded UI, custom action and WiX assembly

2010-09-21 Thread Alexander Kozlenko
Hello. I have installer with embedded UI and managed custom action. Is there any way to reuse Microsoft.Deployment.WindowsInstaller assembly instead of duplicate it in both binary streams (for UI assembly and for CA assembly)? Thanks. Alexander Kozlenko

[WiX-users] Error in Custom Action

2010-09-22 Thread Alexander Kozlenko
What is the best way to block installation on error in Custom Action? I used ActionResult.Failure result value but installation continues to install. Only throwing an exception of type InstallerException helps me to block installation. Thanks. Alexander Kozlenko

[WiX-users] FW: Embedded UI, custom action and WiX assembly

2010-09-22 Thread Alexander Kozlenko
Any suggestions? -Original Message- From: Alexander Kozlenko [mailto:alexander.kozle...@hotmail.com] Sent: Tuesday, September 21, 2010 11:58 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Embedded UI, custom action and WiX assembly Hel

Re: [WiX-users] Error in Custom Action

2010-09-24 Thread Alexander Kozlenko
tom Action Can this be the case that you have Return='ignore' in the custom action definition? I suppose in this case returning ActionResult.Failure will be ignored. -- Yan -Original Message- From: Alexander Kozlenko [mailto:alexander.kozle...@hotmail.com] Sent: Thursday, Se

Re: [WiX-users] Installer appears very slow

2010-10-07 Thread Alexander Kozlenko
Creating Restore Point. You can use MSIFASTINSTALL (http://msdn.microsoft.com/en-us/library/dd408005(VS.85).aspx) property for disabling this and some other things, but this will work only for Windows Installer 5.0 (Windows 7 only, no redist). -Original Message- From: Lena Vinogradov [mail

Re: [WiX-users] Simple Upgrade/Reinstall Question

2010-10-07 Thread Alexander Kozlenko
Try to use this code: , but also you need to suppress ICE61 for safely allowing downgrade. -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Thursday, October 07, 2010 11:16 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX

Re: [WiX-users] Installer appears very slow

2010-10-08 Thread Alexander Kozlenko
seconds out of 20 of total for creating restore point. Is there a way to specify this MSIFASTINSTALL property value from within Wix? I mean something like: Would it overwrite the built-in MSI property when install is running on Windows 7? Thanks! -Original Message- From: Alexander Kozlenko

[WiX-users] EmbeddedUIResource element

2010-10-09 Thread Alexander Kozlenko
According to documentation and to compiler Name is required attribute, but in attribute description I find this: "If this attribute is not specified the Id attribute will be used." What is incorrect: documentation part or compiler behavior? -

Re: [WiX-users] is there an issue with the latest 3.6 cab file

2010-10-10 Thread Alexander Kozlenko
Have the same problem. "Can't find Wix36lib.cab ..." error on installing (MSI+CAB). -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Sunday, October 10, 2010 5:41 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] is there an issue with the latest

Re: [WiX-users] Simple Upgrade/Reinstall Question

2010-10-14 Thread Alexander Kozlenko
to what I need to do? I left some of the various combinations commented out above, we are fast pushing torwards a deployment, and need some insight or direction. -Original Message- From: Alexander Kozlenko [mailto:alexander.kozle...@hotmail.com] Sent:

Re: [WiX-users] Determine if a MSI was created using WIX

2010-10-18 Thread Alexander Kozlenko
Property with ID 18 in _SummaryInformation table will contains string like "Windows Installer XML (3.5.2215.0)" for every package created with WiX. -Original Message- From: teuf008 [mailto:teuf...@gmail.com] Sent: Monday, October 18, 2010 11:38 AM To: wix-users@lists.sourceforge.net Subje

[WiX-users] Environment variable for current user and all user settings

2012-01-16 Thread Nevskiy, Alexander
Hi All! I want to add path to my executable into %PATH%. But it must depend on how user choose to install my msi: per-machine or per-user. - I want to change system variable if it per-machine installation - I want to change user variable if it per-user installation I couldn't

[WiX-users] Burn without UI

2012-01-31 Thread Alexander Lamaison
Is it possible to have a bootstrapper made with burn that doesn't show any UI? All I want my bootstrapper to do is decide what platform it's running on (x86 or x64), extract the appropriate MSI installer from within itself and run it.  At the moment, the Burn UI takes over.  Is there a no-UI optio

Re: [WiX-users] Burn without UI

2012-01-31 Thread Alexander Lamaison
On 31 January 2012 15:07, jhennessey wrote: > Looks like you need to write your own BA: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-bootstrap-a-single-MSI-not-showing-BA-UI-at-all-td6926187.html Is this hard to do? Can it be done in C++ or must I use .net? Can you point

[WiX-users] Single Add/Remove icon

2012-01-31 Thread Alexander Lamaison
My burn bootstrapper/bundle/thingiemagig is just a wrapper around my MSI installer; it chooses between an x86 and an x64 version but will only ever install one. So I just want one entry for my program in Add/Remove programs. I seem to have achieved this by removing the Name attribute from the Bun

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-04-28 Thread Alexander Lamaison
That's just stopped me in my tracks. I've been converting our dotnetinstaller bootstrapper to use Burn but had no idea that would kill our Win2k support. Seriously not good. Is there a way round this? Can I easily compile the bootstrapper application myself with VS 2005? Thanks, Alex On 28

[WiX-users] Bootstapper hangs

2012-04-28 Thread Alexander Lamaison
I'm trying to create a custom no-UI bootstrap application by subclassing CBalBaseBootstrapperApplication. It gets as far as my OnStartup method but then hangs. According to the debugger it's waiting on NtReadFile but I'm not sure how reliable that is. This is the (very short) log file I get: [0

Re: [WiX-users] Bootstapper hangs

2012-04-28 Thread Alexander Lamaison
Also, the boostrapper .exe seems to spawn another instance of itself and it is that instance that is waiting on NtReadFile. Why would it do this? On 28 April 2012 21:07, Alexander Lamaison wrote: > I'm trying to create a custom no-UI bootstrap application by >

Re: [WiX-users] Bootstapper hangs

2012-04-28 Thread Alexander Lamaison
On 28 April 2012 21:18, Bob Arnson wrote: > On 28-Apr-12 16:07, Alexander Lamaison wrote: >> I'm trying to create a custom no-UI bootstrap application by >> subclassing CBalBaseBootstrapperApplication.  It gets as far as my >> OnStartup method but then hangs. > >

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-04-28 Thread Alexander Lamaison
On 28 April 2012 21:18, Bob Arnson wrote: > On 28-Apr-12 08:08, Alexander Lamaison wrote: >> Is there a way round this?  Can I easily compile the bootstrapper >> application myself with VS 2005? > You'd have to do the same thing to all of Burn too. Is this feasible? I

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-04-29 Thread Alexander Lamaison
bly is not feasible. >> Burn is in wix\src\burn (burn.build) and as Bob noted if you want wixstdba >> then you'll need to build wix\src\ext\BalExtension\wixsdtba. >> >> Both are in WiX so that will require breaking your vow. >> On Sat, Apr 28, 2012 at 2:01 PM, Alexa

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-04-29 Thread Alexander Lamaison
y popular... but it too is going > out of support very soon. > > These are never easy decisions. > > On Sun, Apr 29, 2012 at 3:42 AM, Alexander Lamaison wrote: > >> 'Out of support' is just a marketing term.  It doesn't mean it >> magically stops working.

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-05-02 Thread Alexander Lamaison
I remain confused how this problem has arisen in the first place. WiX was (obviously) being compiled with versions of VS that support Win2K, Win XP. So what's changed? Windows XP hasn't changed under our feet. So that leaves WiX. What features of the newer versions of Windows and/or VS are so

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-05-09 Thread Alexander Lamaison
he decision to cut backwards > compatibility to only supported Windows OS's. > > Next version will be even more interesting since last I checked VS11 CRT > only supports Win7+ (which I believe cuts support for WinXP SP3 and > Vista before they are out of service). > > &

Re: [WiX-users] inifilesearch doesn't execute

2009-07-21 Thread Alexander Shevchuk
Read about IniLocator table (http://msdn.microsoft.com/en-us/library/aa369283(VS.85).aspx): "... The .ini file must be present in the default Microsoft Windows directory." Also, it's the other way around. Parent element starts search and child element continues it with what parent found. So, IniF

Re: [WiX-users] Upgrading...

2009-07-22 Thread Alexander Shevchuk
Few options available here and you can find more using search engine of your choice: Neil Sleightholm's blog: - http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrades.ht ml My take on it: - http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8- major

Re: [WiX-users] end up with emtpy msi

2009-07-22 Thread Alexander Shevchuk
As far as Media element, this can help: http://blogs.technet.com/alexshev/archive/2008/04/04/from-msi-to-wix-part-16 -installable-items-handling-installation-media.aspx I have suspicion that wxs files created by Paraffin contain fragments and in order to include content of fragment to resulting m

Re: [WiX-users] filesearch not finding file

2009-07-22 Thread Alexander Shevchuk
>So instead I'm checking for the presence of this file. If it's there, I want >to fail the install. Not sure how and when HostDir property gets its value. You might want to make it public (all uppercase and Secure set to "yes") if AppSearch happens in the InstallExecuteSequence. Alex -

Re: [WiX-users] end up with emtpy msi

2009-07-22 Thread Alexander Shevchuk
dd to MyApp.wxs The installer does install. :)) But it doesn't un-install all the directories, and the App doesn't work once installed, so I have more learning. On Wed, 2009-07-22

Re: [WiX-users] filesearch not finding file

2009-07-22 Thread Alexander Shevchuk
Hi Eric, Directory resolution is done during CostFinalize, way after AppSearch. What you need to do is save the value of HostDir in the registry as part of your install. Then, during reinstall/upgrade you can use AppSearch to get saved value from registry and use it for FileSearch. Alex -O

Re: [WiX-users] how to force uninstall before install

2009-07-24 Thread Alexander Shevchuk
Search for "Major Upgrade". Alex -Original Message- From: jo...@msli.com [mailto:jo...@msli.com] Sent: Friday, July 24, 2009 8:59 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] how to force uninstall before install I am going thought the process of

Re: [WiX-users] conditionally append to a directory

2009-07-26 Thread Alexander Shevchuk
>I've scheduled this before CostFinalize. Directory resolution happens during CostFinalize. You need to schedule your CA after CostFinalize. Why are you scheduling your CA before CostFinalize? Any concerns that after CostFinalize it will be too late to change the installation folder? Alex

Re: [WiX-users] conditionally append to a directory

2009-07-27 Thread Alexander Shevchuk
ss [HostDir] is still empty at that time, because when I attempt to append to it all I get is 'Software' (nothing preceeding it). I've also tried a action with similar results. Is there a better way to do this? Thanks -- Forwarded message -- From: "Alexander S

Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Alexander Shevchuk
Hi James, Have you tried the usual XML escaping? UP Alex -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Monday, July 27, 2009 8:51 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Creating

[WiX-users] One MSI with CAB files in different directories

2009-11-20 Thread Alexander Miseler
I basically want a one file setup, but my content is way above 2 GByte. Thus I will have something like my_product.exe, my_product2.cab, my_product3.cab, ... The EXE contains the MSI, the my_product1.cab, and some other stuff. When executed the content of the EXE is copied to a temp directory and

Re: [WiX-users] Setting Install Location

2008-12-23 Thread Alexander Shevchuk
Hi Colin, Try this: - Use AppSearch to set the value of public property, say - SHAREPOINT - Schedule custom action type 35: NOT Installed You should be good to go. Make sure that your custom action is scheduled after CostFinalize. Alex -Original Message- From: Colin F

Re: [WiX-users] Setting Install Location

2008-12-23 Thread Alexander Shevchuk
Also, regarding registry search. The way how your RegistrySearch is provided - you are looking for a *value* SharePoint under SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\. Is that what you want? I think, you actually want a default registry value (no name) for the "SOFTWARE\Microsoft\.NET

Re: [WiX-users] Setting Install Location

2008-12-23 Thread Alexander Shevchuk
: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setting Install Location On Tue, Dec 23, 2008 at 10:55 AM, Alexander Shevchuk < alexander.shevc...@microsoft.com> wrote: > Hi Colin, > > Try this: > > - Use AppSearch to set the value of

Re: [WiX-users] Detecting if a feature is marked for install

2008-12-31 Thread Alexander Shevchuk
You are mixing to things in your condition: - Property Installed is telling us if product is installed or not - &Feature is telling us to what state feature is changing from its current state This important to understand because user may select a feature to be installed during fresh install of t

Re: [WiX-users] Detecting if a feature is marked for install

2008-12-31 Thread Alexander Shevchuk
Frank, I am guessing here, the reason "NOT &Firebird=0" does not get evaluated to TRUE is because 0 is not a valid value for a feature state (see http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx). This description from Condition table (http://msdn.microsoft.com/en-us/library/aa3680

Re: [WiX-users] Serviceinstall - can I set it in a sequence

2009-01-04 Thread Alexander Shevchuk
Based on very limited provided information about your scenario - possibly incomplete advise: - schedule your custom action before InstallServices standard action; - condition your custom action on - fresh install OR component state being changed to Install Local/Run From Source. Alex -O

Re: [WiX-users] ServiceInstall as deferred action

2009-01-26 Thread Alexander Shevchuk
ServiceInstall is already deferred. See Suggested InstallExecuteSequence (http://msdn.microsoft.com/en-us/library/aa372038(VS.85).aspx) - InstallServices standard action is scheduled after InstallInitialize. I am not sure what you mean by constructing exe path during execution. ServiceInstall

Re: [WiX-users] Properties in WiX

2009-01-26 Thread Alexander Shevchuk
Properties are not WiX feature, it is an MSI feature. You can find answers on your questions here: http://msdn.microsoft.com/en-us/library/aa370889(VS.85).aspx Regards, Alex -Original Message- From: Kiran Challa [mailto:kicha...@microsoft.com] Sent: Monday, January 26, 2009 12:56 PM T

Re: [WiX-users] CustoAction as early as possible

2009-01-26 Thread Alexander Shevchuk
When UI is in use during installation (UI level is not None), Windows Installer starts with actions from InstallUISequence table. In case when UI level is set to None, you still want to schedule custom action in InstallExecuteSequence table. In that case you may want Execute attribute to be "fi

Re: [WiX-users] Updating full package

2009-02-16 Thread Alexander Shevchuk
Hi Michael, Make sure you follow all required steps to make major upgrade work. In your simplified code I see Version attribute hard coded to "0.0.0.0". Also, you did not provide your table and how you schedule . It is not obvious from your code if you change Product/@Id with every build.

Re: [WiX-users] Visual Dialog Development

2009-02-18 Thread Alexander Schulz
Richard schrieb: > In article <49958e53.2090...@artizan.com>, > "Thomas S. Trias" writes: > > >>> Because not everyone requires the .NET framework and for most >>> packages, a custom UI written in .NET is overkill. >>> >> [...] If you want to do it all within an MSI, just use a man

Re: [WiX-users] Launch Conditions

2009-02-18 Thread Alexander Shevchuk
Hi Colin, It is: XXX NOT: YYY Also, you want Property's Id to be in all uppercase. The only time when you need CDATA in condition is when condition text includes & > < ' " characters. Regards, Alex -Original Message- From: Colin Fox [mailto:greenene...@gmail.c

Re: [WiX-users] custom action ExeCommand attribute

2009-02-26 Thread Alexander Shevchuk
There are two issues here. First of all, value provided for ExeCommand attribute is not a valid XML. Remember that < > ' " characters have to be encoded: ExeCommand='-d "[INSTALLLOCATION] " -f " [TempFolder]eclipse.zip"' Second, it seems like whatever tool is parsing this XML is using unorth

[WiX-users] Pyro system requirements

2009-03-12 Thread Alexander Schulz
job? Or is there another way ? Thanks for helping, Alexander Schulz -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and ea

[WiX-users] how to analyze and set errorlevel in cmd via msi package

2009-04-02 Thread Alexander Schaubert
Hello everybody! Recently I started to build a msi file with WIX so far so good. My last activity was to integrate a vbs script in msi package. This was no problem. But now I have one problem how can I implement an error handling in msi? Example I have this code which start the Main.vbs

Re: [WiX-users] Service Install doesn't work when the component keypath is used

2009-04-06 Thread Alexander Shevchuk
This is requirement for ServiceInstall table (http://msdn.microsoft.com/en-us/library/aa371637(VS.85).aspx). Look for description of Component_ column: "External key to column one of the Component Table. Note that to install this service using the InstallService table, the KeyPath for this com

Re: [WiX-users] Command Line Parameters to Deferred Custom Action on Vista

2009-04-19 Thread Alexander Shevchuk
For deferred custom actions you pass parameters through CustomActionData. See http://blogs.technet.com/alexshev/archive/2008/03/25/property-does-not-exist-or-empty-when-accessed-from-deferred-custom-action.aspx for details. Alex -Original Message- From: Rajesh P [mailto:rajeshp.bl...@

Re: [WiX-users] User's Environment Variable in DirectorySearch

2009-05-04 Thread Alexander Shevchuk
Hi Ben, Description of DrLocator table (http://msdn.microsoft.com/en-us/library/aa368331.aspx) states that Path column has type AnyPath (http://msdn.microsoft.com/en-us/library/aa367562(VS.85).aspx). Description of AnyPath mentions that path may contain *properties* enclosed in square brackets

Re: [WiX-users] Upgrade Migrate Products Flag or Custom Action

2009-05-05 Thread Alexander Shevchuk
I just want to add that there is one more option, very similar to storing property value in registry - storing it in the .ini file and use IniFileSearch. Murray, thanks for being so kind. I'm glad you found Major Upgrade post useful. Alex -Original Message- From: Michael Osmond [mail

[WiX-users] where I can get documentation about wix?

2009-05-14 Thread Alexander Bubnov
Hello, All! It seems there a trouble to display documentation on wix site. http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm Is there another place wnere can I get docs? -- /BR, Alexander -- The NEW KODAK i700

Re: [WiX-users] where I can get documentation about wix?

2009-05-14 Thread Alexander Bubnov
I have found documentation in doc folder of wix distributive. 2009/5/14 Alexander Bubnov : > Hello, All! > It seems there a trouble to display documentation on wix site. > http://wix.sourceforge.net/manual-wix2/wix_xsd_index.htm > Is there another place wnere can I get docs?

[WiX-users] Visual C++ Runtime MSM

2009-05-14 Thread Alexander Bubnov
Hello, All! I have tried to install my application with distributed msm files as I have found in the Internet: Can you please let me know how can I check for success installation of runtime modules? Which files should be copied to computer? -- /BR, Alexander

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Alexander Shevchuk
First of all, look at samples I have on my blog (http://blogs.technet.com/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx), specifically type 34 and 50. Looks like you're mixing both of them in your sample. Also, TARGETDIR is where your batch file located? I think you n

Re: [WiX-users] How to set property value by directory path

2008-07-16 Thread Alexander Shevchuk
This can be done with custom action 51: Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benas Sent: Wednesday, July 16, 2008 8:59 AM To: WiX-users Subject: [WiX-users] How to set property value by directory path Hello all, What

Re: [WiX-users] prevent an old package from installing not working

2008-07-21 Thread Alexander Shevchuk
Hi Lucius, Is it too late in the game to fix __UPGRADEGUID__? All GUIDs must be upper cased in MSI and your upgrade code is not following this rule. Other than that I can't see what can be wrong with your code (I assume that your project is using same upgrade code for all versions). Try a sm

Re: [WiX-users] Recognize final localtion of file by file identifier

2008-07-22 Thread Alexander Shevchuk
Sorry, didn't have time to do anything with DTF yet, but from the MSI point of view you need to use formatted (http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx) value. Depending on what exactly you need - file path or folder path, you use either [#filekey] or [$componentkey]. Keep

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Alexander Shevchuk
Does this help? Not Privileged Regards, Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Tuesday, July 29, 2008 7:32 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Help on type 19 custom action Hel

Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Alexander Shevchuk
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 Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Alexander Shevchuk
Dane, MSI does not support passing parameters to custom actions (not even C++ custom actions). Options here may include using properties or using custom tables. So, the answer to your question is - yes, you need to have wrapper functions which will extract parameters from the storage of your

Re: [WiX-users] Registry question.

2008-07-30 Thread Alexander Shevchuk
Something like this: PROP1 NOT PROP1 AND PROP2 NOT PROP1 AND NOT PROP2 Because AppSearch does not guarantee the order of search execution you need to search for both regkeys. If you think you absolutely must look for an alternative key only if first regkey does not exi

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] custom action

2008-08-04 Thread Alexander Shevchuk
See http://msdn.microsoft.com/en-us/library/aa371254(VS.85).aspx for options on return value from CA. Perhaps you need IDABORT=3. Regards, Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Rerick Sent: Monday, August 04, 2008 1:03 PM

Re: [WiX-users] User Defined File Sources

2008-08-04 Thread Alexander Shevchuk
Attribute Source of File element has type String, not Formatted, which means you can't do what you want. Take a look at Transitive components to get the results you want: http://msdn.microsoft.com/en-us/library/aa372462(VS.85).aspx Regards, Alex Shevchuk -Original Message- From: [EMAIL

Re: [WiX-users] WindowsFolder variable is not getting picked up

2008-08-06 Thread Alexander Shevchuk
WiX element creates a record in the Property table (http://msdn.microsoft.com/en-us/library/aa370908(VS.85).aspx). As you can see, the type of the Value column in this table is Text (not Formatted). Also, Remarks section has the following: "Note that you cannot use the Property table to set

Re: [WiX-users] msi does not remove install folder (and subfolders) on Uninstall

2008-08-07 Thread Alexander Shevchuk
Greg, This scenario I've used in http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19-the-art-of-custom-action-part-1.aspx. You don't need all that custom action stuff. Search for RemoveFile in it. Regards, Alex Shevchuk -Original Message- From: [EMAIL PROTE

  1   2   3   4   >