Re: [WiX-users] Best way to copy (or reference) install files stored outside of MSI file.

2010-08-13 Thread Alex Shevchuk
Does this help: http://blogs.technet.com/b/alexshev/archive/2008/04/04/from-msi-to-wix-part- 16-installable-items-handling-installation-media.aspx -Original Message- From: Philip Garofalo [mailto:ph...@vavatini.com] Sent: Friday, August 13, 2010 6:55 PM To: wix-users@lists.sourceforge.n

Re: [WiX-users] Add multiple elements into xml with XmlConfig or XmlFile

2009-12-19 Thread Alex Shevchuk
Hi Igor, I've been having problems with Internet connection at home recently and I am sorry I don't have time to give you extended answer. What you want is easily doable and this is more of XPATH issue. Attached is my old document I wrote for my colleagues which may help you to understand how to

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

2009-07-21 Thread Alex Shevchuk
Hi Eric, Are you sure that msi.ini file is in the default windows folder? Alex -Original Message- From: Eric Napier [mailto:napi...@gmail.com] Sent: Tuesday, July 21, 2009 3:34 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] inifilesearch doesn't execute I'm having a prob

Re: [WiX-users] How to sequence VBScript a in-script custom action

2009-07-20 Thread Alex Shevchuk
Clarification: CAs need to be scheduled in InstallUISequence and Execute attribute should be set to "immediate". -Original Message----- From: Alex Shevchuk [mailto:shevc...@live.com] Sent: Monday, July 20, 2009 2:24 PM To: 'General discussion for Windows Installer XML to

Re: [WiX-users] Shortcut points to wrong file

2009-07-20 Thread Alex Shevchuk
Hi Rafael, This is one of those cases when keypath is very important. Target of the shortcut in advertised shortcut is the keypath of the component. When you don't specify the keypath for your component (as in the sample below), WiX will select first file as a keypath. Hence the behavior you're

Re: [WiX-users] How to sequence VBScript a in-script custom action

2009-07-20 Thread Alex Shevchuk
Hi Jirong, Schedule custom CAs in InstallUISequence. Regarding ICE warning - it looks like setting Execute attribute to "firstSequence" also adds behind the scene deferred (msidbCustomActionTypeInScript) flag as well. You can verify it be checking the value of Type column in CustomAction table.

Re: [WiX-users] Custom action behavior on Install vs Uninstall

2009-07-02 Thread Alex Shevchuk
>Can a Type 18 custom action have a dynamically designated command line >property such that the target executable of the custom action is aware >that it is being executed during installation or uninstallation? If so, >what internal variable can be used to determine the current condition of >the MSI

Re: [WiX-users] How to embed a transform and use during install?

2009-07-02 Thread Alex Shevchuk
Hi David, You can use WISubStg.vbs: WISubStg.vbs "full path to msi" "full path to mst" TransformName Command line for msiexec: Msiexec /I "full path to msi" TRANSFORMS=:TransformName At the very end of http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-7- customizing-ins

Re: [WiX-users] Env variables don't get deleted

2009-07-02 Thread Alex Shevchuk
My understanding of original problem is that environment variables are created on install, but not deleted on uninstall. Action="remove" must be used when environment variable needs to be deleted *on install*. As Rob already mentioned, there is nothing wrong with tag itself. Problem is somewhere

Re: [WiX-users] Prevent "files in use" dialog?

2009-06-20 Thread Alex Shevchuk
> However what I would like to have is no dialog but restart of the app. Hi Stefan, This blog post (http://blogs.msdn.com/windows_installer_team/archive/2006/12/11/windows-ins taller-and-restart-manager-msi-files-in-use-v2.aspx) explains the behavior in different UI modes. Looks like what you w

Re: [WiX-users] How do I remove or bypass the dialog with Typical, Complete, Customize?

2009-06-09 Thread Alex Shevchuk
Search for "WixUI_InstallDir Dialog Set" in WiX.chm. -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Tuesday, June 09, 2009 12:28 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How do I remove or bypass the dialog w

Re: [WiX-users] FileSearch not working.

2009-06-05 Thread Alex Shevchuk
Path attribute has AnyPath type (http://msdn.microsoft.com/en-us/library/aa367562(VS.85).aspx). It is either actual path (or subpath) or it may contain property enclosed in brackets. My guess is that TOOLSDIR is a property containing path where MCT.exe is located. If that assumption is correct,

Re: [WiX-users] Variable not recognized in Fragment

2009-06-05 Thread Alex Shevchuk
one for the system folder in the main file or in the fragment? -Original Message- From: Alex Shevchuk [mailto:shevc...@live.com] Sent: Friday, June 05, 2009 12:00 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Variable not recognized i

Re: [WiX-users] Variable not recognized in Fragment

2009-06-05 Thread Alex Shevchuk
HelpDirectory is a key to Directory table. Do you have a entry for SystemFolder? Alex -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Friday, June 05, 2009 8:49 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Vari

Re: [WiX-users] problem with upgarde

2009-06-05 Thread Alex Shevchuk
Major upgrade requires ProductCode, PackageCode, and ProductVersion to be different in the new version. I don't know if that will make any difference, but because you product has 4 fields in the version number, try to change mailto:gulfam.mu...@gmail.com] Sent: Friday, June 05, 2009 8:08 AM To: Ge

Re: [WiX-users] problem with upgarde

2009-06-04 Thread Alex Shevchuk
table entiry (upgradecode) {82594B5A-5CA6-4C6F-A9F1-EF75A504B592}  (VersionMin) 1.0.0 (VersionMax)  12.0.1.9020  (Attributes) 256 (actionproperty) OLDERVERSIONBEINGUPGRADED > On Thu, Jun 4, 2009 at 4:37 PM, Alex Shevchuk wrote: >> >>  > Language="!(l

Re: [WiX-users] problem with upgarde

2009-06-04 Thread Alex Shevchuk
Make sure that var.UpgradeCode and have the same value. Alex -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that in

Re: [WiX-users] Problem with Shortcut

2009-06-03 Thread Alex Shevchuk
>It shows the value in shortcut property "[INSTALLDIR]ALMGUI" which is like hard code value. Use instead of and schedule it accordingly. sets the value to a string value, whereas is a wrapper for Type 51 CA and can handle Formatted data type. Alex

Re: [WiX-users] Problem with Shortcut

2009-06-03 Thread Alex Shevchuk
>So I tried > >How can I set the directory [INSTALLDIR]ALMGUI to WorkingDirectory WorkingDirectory contains the name of the property that has the path. Try convert "StartinDir" to all uppercase and set Secure="yes", so that it can be passed from client to server process. Alex

Re: [WiX-users] Read the text from .ini file.

2009-05-26 Thread Alex Shevchuk
>However I think it searches only system folder. The .ini file is part of >my installation and copies on user machine. So how can I search this >one? Actually, WI requires file to be in the Windows folder. You can either copy your .ini file to windows folder during installation or custom action is

Re: [WiX-users] Read the text from .ini file.

2009-05-25 Thread Alex Shevchuk
You need . Alex -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: Monday, May 25, 2009 5:25 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Read the text from .ini file. Hi, How can I read the text from .ini file and store it into p

Re: [WiX-users] How to identify the custom action type in run time.

2009-05-21 Thread Alex Shevchuk
You can check for presence of CustomActionData property. It will be set if custom action is deferred. Alex -Original Message- From: Dov Kleinman [mailto:d...@microsoft.com] Sent: Thursday, May 21, 2009 12:55 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to identify th

Re: [WiX-users] Rolling back after a major upgrade - is this possible

2009-05-16 Thread Alex Shevchuk
Hi Jacques, Yes, major upgrade removes previous version and if upgrade will be uninstalled, the whole product will be uninstalled. There is no support for going back to previous version. What you may or may not want in this case is uninstallable patch. Alex -Original Message- From: Ja

Re: [WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager)

2009-05-15 Thread Alex Shevchuk
d elevated privileges to run CeAppMgr.exe but it seems that I cannot get them on Vista unless I set Impersonate="no" and deferred execution. Is there any workaround to this? Thanks, Tom Alex Shevchuk schrieb: > Well, your custom action is deferred, no-impersonate, which means that it &g

Re: [WiX-users] WiX/MSI and CeAppMgr.exe (WinCe Application Manager)

2009-05-14 Thread Alex Shevchuk
Well, your custom action is deferred, no-impersonate, which means that it will be run under Local System credentials. Local System, albeit very powerful, has some limitations, like no access to network, etc. You can try to set Impersonate="yes". Alex -Original Message- From: Tom Kazim

Re: [WiX-users] Post-installation - what got installed?

2009-05-14 Thread Alex Shevchuk
I don't have ready to use solution, but http://blogs.technet.com/alexshev/archive/2008/06/30/from-msi-to-wix-part-17 -windows-installer-automation-interface-part-2.aspx may give you a good starting point, if that's what you want. Alex -Original Message- From: Chris Ridd [mailto:chrisr...

Re: [WiX-users] Two Entries in Add or Remove Programs

2009-05-13 Thread Alex Shevchuk
PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Two Entries in Add or Remove Programs Alex Shevchuk wrote: > Well, if per-user/per-machine context did not change, I can only > suggest comparing your upgrade steps to steps in here: > ...from-msi-to-w

Re: [WiX-users] Command line property passing to old msi during upgrade

2009-05-13 Thread Alex Shevchuk
>If I pass a property to my msi via command line, it seems like it is only >reflected in the current msi context but not when removeexistingproducts is >called to uninstall the old product. Is tehre any way to make this public >property pass to old msi as well? You need to preserve value of prope

Re: [WiX-users] Two Entries in Add or Remove Programs

2009-05-13 Thread Alex Shevchuk
> The 'two entries' problem continues. Well, if per-user/per-machine context did not change, I can only suggest comparing your upgrade steps to steps in here: http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8- major-upgrade.aspx Alex -

Re: [WiX-users] RegistrySearch and RegistryValue

2009-05-13 Thread Alex Shevchuk
>And how about QWORD value? Looks like Registry table (http://msdn.microsoft.com/en-us/library/aa371168(VS.85).aspx) supports only: - REG_SZ - REG_MULTI_SZ - REG_EXPAND_SZ - REG_BINARY - REG_DWORD No REG_QWORD and XXX_LITTLE_ENDIAN (or REG_LINK) support, I think. Alex --

Re: [WiX-users] Two Entries in Add or Remove Programs

2009-05-13 Thread Alex Shevchuk
>I go back to Wix Edit and change both the Product GUID and the Package GUID. >The Upgrade ID GUID does not change. I rebuild the MSI setup package. > ... > > > Maximum="!(bind.FileVersion.gssta_exe)" IncludeMinimum="yes" >OnlyDetect="no" IncludeMaximum="no" Minimum="0.0.0.0" /> > Minimum="!(

Re: [WiX-users] RegistrySearch and RegistryValue

2009-05-11 Thread Alex Shevchuk
Hi Alex, Short answer: Yes, maybe, no. :-) Detailed answer: http://blogs.technet.com/alexshev/archive/2009/05/11/is-it-possible-to-use-r egistrysearch-result-in-registryvalue.aspx Regards, Alex -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Monday, May

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-07 Thread Alex Shevchuk
Hi Karma, Actually, after carefully re-reading your question, I don't think you can achieve what you want. Only temporary tables, rows, or columns can be modified. In your case you are trying to modify existing component's 64-bit flag. Won't work. Besides, I think that 32-bit and 64-bit versio

Re: [WiX-users] Creating Internet Shorcuts

2009-05-07 Thread Alex Shevchuk
See http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shor tcut-and-pass-all-the Alex -Original Message- From: slmnow [mailto:slm...@hotmail.com] Sent: Thursday, May 07, 2009 7:24 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating Internet Shorcu

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-07 Thread Alex Shevchuk
To add to response from Curtis Jewell: During installation WI is using in-memory copy of original MSI. As a result, no changes to original MSI are allowed and changes can be made to in-memory copy only. To indicate your intent to change in-memory copy use TEMPORARY as Curtis suggested. Alex -

Re: [WiX-users] InstallUISequence and InstallExecuteSequence

2009-05-07 Thread Alex Shevchuk
Here is the order: - InstallUISequence (everything up to ExecuteAction) - ExecuteAction in InstallUISequence calls InstallExecuteSequence (you can think of it as a blocking function call. You will get control back after all actions in InstallExecuteSequence are done) - Any action scheduled after

Re: [WiX-users] WiX, MSI checksum and overwrite behaviour

2008-03-25 Thread Alex Shevchuk
George, To get behavior you want: * Make your file a keypath of your component (File/@KeyPath="yes") * Use /fc option to repair your installation Alex Shevchuk On Tue, Mar 25, 2008 at 5:16 PM, Georgi Shopov <[EMAIL PROTECTED]> wrote: > Hi, > > can any body give