Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-22 Thread Krause, Henning
Hello, I'm currently testing this by calling c:\winodows\system32\calc.exe... to minimize side-effects. And I wait for the other process to finish. Kind regards, Henning > -Original Message- > From: Paul McCloskey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 22, 2008 10:41 PM > To

[WiX-users] not removed - Documents and Settings\All Users\Application Data

2008-01-22 Thread SaiTeja
Hi, I added one component(xyz.exe) property Permanent="yes" When I uninstall the client, xyz.exe is still there under INSTALLDIR. I think this becuase of property permanent=yes. Also when I uninstall the client, the files from C:\Documents and Settings\All Users\Application Data\Test Machine ar

Re: [WiX-users] WixComPlusExtension in Wix v3

2008-01-22 Thread Bob Arnson
Peter Jaworski wrote: > 1) Does it mean that if I would like to use DLLs created under VB6 I > should use WiXv2? > For now. > 2)How much time does it take to fix the bug in WiXv3? > > 3)Which WiXv3 build number supports COMs correctly? > I don't know. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Get rid of distracting 'run from the network' installation in the root feature

2008-01-22 Thread Bob Arnson
Christopher Painter wrote: > Do you have similar trivia for how to get rid of the annoying `this > feature, and all subfeatures, will be installed on local hard drive.` > when said feature doesn't have any subfeatures? That's your choice in localizing UIText strings. -- sig://boB http://joyo

Re: [WiX-users] Does a File selection control exist?

2008-01-22 Thread Bob Arnson
Mooney, Stephen wrote: The PathEdit, DirectoryCombo and DirectoryList controls all appear to be used in selection of a directory only. I cannot find a property to show the files within a directory. There's no such control built in to MSI. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Vista not prompting for administrator during auto-healing?

2008-01-22 Thread Bob Arnson
Bryan C. Boettcher wrote: However, after the installation is completed (for ALLUSERS), if an administrator forcibly removes a file that's required, the MSI will try to auto-heal itself. This works wonderfully, if the current user is also an administrator. How can I make Vista require privil

Re: [WiX-users] Visual Studio running detection

2008-01-22 Thread Bob Arnson
Adrian Alonso wrote: > Hi! I need to detect if Visual Studio is running to avoid some Custom > Actions fail. > Do you know if MSI/WIX allows me to detect if a proc is running or, > better yet, if it provides some support for detecting if Visual Studio > is running specifically? The CloseApplica

Re: [WiX-users] conditional custom action

2008-01-22 Thread Christopher Painter
Btw, I'm familiar with the use of "Installed" to make sure you don't create blocking problems for repair and uninstall transactions, but what use is it when coupled with REMOVE="ALL". From what I can see it's not possible to have REMOVE="ALL" without Installed being set. MSI gives the err

Re: [WiX-users] conditional custom action

2008-01-22 Thread Christopher Painter
Note, use of REMOVE="ALL" is only reliable after the InstallValidate action. Richard <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, "Ted Yu" writes: > > CheckDbExist" BinaryKey="CheckDbExist" /> > > How do I limit the above custom action to be run only at uninstall ? Use the

[WiX-users] Visual Studio running detection

2008-01-22 Thread Adrian Alonso
Hi! I need to detect if Visual Studio is running to avoid some Custom Actions fail. Do you know if MSI/WIX allows me to detect if a proc is running or, better yet, if it provides some support for detecting if Visual Studio is running specifically? Thanks, -Adrian --

Re: [WiX-users] conditional custom action

2008-01-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Ted Yu" <[EMAIL PROTECTED]> writes: > > > How do I limit the above custom action to be run only at uninstall ? Use the Condition Installed and REMOVE="ALL" Look at the help page titled "Conditioning Actions to Run During Removal" in the Windows I

[WiX-users] conditional custom action

2008-01-22 Thread Ted Yu
Hi, How do I limit the above custom action to be run only at uninstall ? Thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070m

Re: [WiX-users] Giving fulltrust in deferred Custom action

2008-01-22 Thread sandeep . rawat
Thanks Mike, Do you have any idea which Windows APIs are called by caspol to grant full trust to a public key or should I call managed APIs ? Regards Sandeep - Original Message From: Mike Dimmick <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Sent: Wednesday

Re: [WiX-users] Vista not prompting for administrator duringauto-healing?

2008-01-22 Thread Mike Dimmick
In recent versions of WiX, set Package/@InstallPrivileges to "elevated" to inform Windows Installer that the package needs to be elevated. -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan C. Boettcher Sent: 22 January 2008 17:19 To: wix-users

Re: [WiX-users] EnvironmentVariable checking

2008-01-22 Thread Kalle Olavi Niemitalo
"Peter Jaworski" <[EMAIL PROTECTED]> writes: > or it is enough to to just use: > > > [%myenvironmentvariable] > ? Windows Installer would not expand that environment variable, because the Property.Value column has type Text rather than Formatted. http://msdn2.microsoft.com/library/aa370908.aspx

Re: [WiX-users] WIX XML manipulation

2008-01-22 Thread Mike Dimmick
>From the documentation: "ElementPath : String : The XPath of the element to be modified. Note that this is a formatted field and therefore, square brackets in the XPath must be escaped." To escape square brackets, use [\[] and [\]], so your XPath needs to be /redirections/redirection[\

Re: [WiX-users] Is there a directory property forCSIDL_COMMON_DOCUMENTS ?

2008-01-22 Thread Mike Dimmick
If you link with the WixUtilExtension in WiX v3.0, you can use the WIX_DIR_COMMON_DOCUMENTS property. See the topic "OSInfo custom actions" in WiX.chm. -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Palmer Sent: 22 January 2008 21:32 To: w

Re: [WiX-users] what's an ExtensionData child element?

2008-01-22 Thread Don Tasanasanta (Volt)
Nevermind... I figured it out. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta (Volt) Sent: Tuesday, January 22, 2008 1:48 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] what's an ExtensionData child element? I am getting the following error. error CN

Re: [WiX-users] Giving fulltrust in deferred Custom action

2008-01-22 Thread Mike Dimmick
Write the custom action to call caspol directly? Write a C++ DLL to perform whatever task caspol is doing for you? Relying on a batch file is pretty flaky, and for best results custom actions should have as few dependencies as possible. CasPol with the -af option ultimately calls System.Securit

[WiX-users] what's an ExtensionData child element?

2008-01-22 Thread Don Tasanasanta (Volt)
I am getting the following error. error CNDL0063 : A not hidden Feature element must have at least one child element of type ExtensionData. Has anyone encountered this? And what is a child element of type ExtensionData? I can't find any reference to it in WiX help. -

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-22 Thread Paul McCloskey
Are you waiting for the perquisite executables to completely finish installing before trying to call MsiInstallProduct? There can be only one executing MSI at a time. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krause, Henning Sent: Tuesday, January 22

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-22 Thread Krause, Henning
Hello, I already call MsiEnableLog(~0, logfile, 3); But no log is created. The method fails instantly. Kind regards, Henning > -Original Message- > From: Ben Greenberg [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 22, 2008 10:23 PM > To: Krause, Henning > Cc: wix-users@lists.source

[WiX-users] Is there a directory property for CSIDL_COMMON_DOCUMENTS ?

2008-01-22 Thread Scott Palmer
I'm trying to make some changes to play nice on Vista... Currently our product has several folders that it places under Program Files, e.g.: C:\Program Files\Company\Product\Data_A C:\Program Files\Company\Product\Data_B C:\Program Files\Company\Product\Data_C The purpose of these folders was t

Re: [WiX-users] Bootstrapper and MsiInstallProduct

2008-01-22 Thread Ben Greenberg
Perhaps you can try shelling out and running msiexec.exe with logging enabled. Even if it still doesn't work, you may have a more descriptive error message. bg Krause, Henning wrote: > Hello, > > I'm writing a setup-bootstrapper which installs some required software > before the actual MSI is

[WiX-users] Bootstrapper and MsiInstallProduct

2008-01-22 Thread Krause, Henning
Hello, I'm writing a setup-bootstrapper which installs some required software before the actual MSI is executed. The MSI is installed via MsiInstallProduct. This works just fine if no external process is called prior to the call to MsiInstallProduct. But if I launch any executable prior to the c

Re: [WiX-users] Question on

2008-01-22 Thread sandeep . rawat
Thanks for the reply Phil, Any workaround you may suggest? I can think of running installutil from bootstrapper (or installing assembly to Local Folder) but if something can be done inside MSI itself that would be great. Regards Sandeep - Original Message From: "Wilson, Phil" <[EMA

Re: [WiX-users] Question on

2008-01-22 Thread Wilson, Phil
Assemblies don't get installed to the GAC until the commit phase, InstallFinalize. This is (unfortunately) just the way that MSI and Fusion behave. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, January 22, 2008 12:17 PM To: wix-users

[WiX-users] Giving fulltrust in deferred Custom action

2008-01-22 Thread sandeep . rawat
Hi, We need to give full trust to our assemblies at the installation time.. We have a batch file embedded in the MSI DB which is extracted at the runtime and runs caspol to full trust our assemblies (machine level). This process works fine when run as an immediate custom action but fails to run

[WiX-users] Question on

2008-01-22 Thread sandeep . rawat
Hi, When does the file get installed to the GAC if Assembly=".net" and Assembly application is not specified. The problem I'm facing is I've a custom action which runs InstallUtil on an assembly say "A" which references the assembly to be installed in GAC. It worked fine if the custom action i

Re: [WiX-users] MSI removing system file on uninstall

2008-01-22 Thread Mike Dimmick
If the old installer didn't update the SharedDLLs reference count in the registry, then there isn't a lot you can do. Windows Installer updates this if requested, and if installing into certain known locations. When uninstalling a component, if there are no more Windows Installer references to

[WiX-users] ComboBox won't display option

2008-01-22 Thread Mike Menaker
Hi, I have this combobox in my ui/dialog file However I cannot get the option to display. The combobox will, but when it drops down it doesn't display anything. Thanks, Mike ---

Re: [WiX-users] Client Only Installation

2008-01-22 Thread Mike Dimmick
Firstly I'd try the latest weekly release from http://wix.sourceforge.net/releases/. The first two digits of the build number are the 'month number' so the version you're using is now 8 months old. If the problem persists it sounds like a bug. -- Mike Dimmick _ From: [EMAIL P

[WiX-users] Client Only Installation

2008-01-22 Thread Russell Rice
I have an application that installs both a new virtual directory and client sided (windows based) tools. When installing both on a machine with IIS there is no problems.However, when installing only the client side tools the installer wants to talk with IIS which is not install on the comp

[WiX-users] MSI removing system file on uninstall

2008-01-22 Thread Bryan C. Boettcher
An older version of our product was installed with Internet Component Download. Part of the install copied a .DLL to System32. Our MSI installer of a newer version of the product copies the same version of the DLL (it's a shared component that hasn't changed in a long time) to System32. If t

[WiX-users] WIX XML manipulation

2008-01-22 Thread Daniel . Hatala
Hi I need to modify an XML file and create several nodes with the same name https://external_host/* http://internal_host/msmq/internal_queue https://external_host/* http://internal_host/msmq/internal_queu

[WiX-users] Vista not prompting for administrator during auto-healing?

2008-01-22 Thread Bryan C. Boettcher
I've got an MSI (that's somewhat polished, thanks to this list!) using the AssemblyApplication parameter on the File tag for "autohealing" and dependency tracking. An example is shown below: Installing on Vista requires administrative privileges, because we write to a subfolder in

Re: [WiX-users] Advanced bootstrapper, does it exist?

2008-01-22 Thread Ben Greenberg
I use WiX to build installers for a retail product. None of the MSI bootstrappers I've seen on the web provided the logic and UI customizability I required. I use NSIS for my bootstrapping and I am very happy with it. It's extremely flexible, there are lots of plugins and code samples around

Re: [WiX-users] WiX with VS 2008

2008-01-22 Thread Don Tasanasanta (Volt)
I just tried rolling back to 3530 and that didn't work either. I suspect there's a setting somewhere that I need to clear out in order for new settings to be applied. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RAYMENT Tim Sent: Tuesday, January 22, 2008 3:42 AM To: wix-users@

Re: [WiX-users] EnvironmentVariable checking

2008-01-22 Thread Peter Jaworski
> >1) Is there any nice pattern how to check if environment variable is set > > and if it does, to asign its value to a property in the same way as > > IniFileSearch or RegistrySearch: > > > >... > > > > > > or it is enough to to just use: > > > > > > [%myenvironmentvariable] > > ? > >2) Th

Re: [WiX-users] Advanced bootstrapper, does it exist?

2008-01-22 Thread Christopher Painter
All of the bootstrapper I've seen from every vendor is limited in one way or another. Eventually you will find you rolling your own. Igor Lemsky <[EMAIL PROTECTED]> wrote: I need very advanced bootstrapper, which will install prerequisites in custom way (client choose what to install). Does s

Re: [WiX-users] Upgrade InstallShield package

2008-01-22 Thread Christopher Painter
I saw this scenario all the time in enterprise repackaging. You have to write a `forced uninstall` pattern. This is basically a clean up utility that harvests configuration data that you want to preserve, writes it somewhere for the new install to use and then programatically wipes the old ap

[WiX-users] Does a File selection control exist?

2008-01-22 Thread Mooney, Stephen
Hi, I am a user of wix 2. My problem is I need the user to be able to browse and select a file (Licenses.txt) during the install process. The PathEdit, DirectoryCombo and DirectoryList controls all appear to be used in selection of a directory only. I cannot find a property to show the files within

Re: [WiX-users] EnvironmentVariable checking

2008-01-22 Thread Peter Jaworski
> Is there any nice pattern how to check if environment variable is set > and if it does, to asign its value to a property in the same way as > IniFileSearch or RegistrySearch: > >... > > > or it is enough to to just use: > > > [%myenvironmentvariable] > ? The same feature "for read" from X

[WiX-users] EnvironmentVariable checking

2008-01-22 Thread Peter Jaworski
Hello, Is there any nice pattern how to check if environment variable is set and if it does, to asign its value to a property in the same way as IniFileSearch or RegistrySearch: ... or it is enough to to just use: [%myenvironmentvariable] ? Thank you, for any information. Best regards,

Re: [WiX-users] WixComPlusExtension in Wix v3

2008-01-22 Thread Peter Jaworski
> > Why has WixComPlusExtension.dll not been included in the weekly builds since > > a long time ago? > > Is support being dropped? > No, there's an open bug on the build process that it's not working since > we switched to MSBuild. 1) Does it mean that if I would like to use DLLs created under V

Re: [WiX-users] WiX with VS 2008

2008-01-22 Thread RAYMENT Tim
Which version of WiX have you got installed? 3.0.3711 has broken VS2008 integration. I have Wix 3.0.3530 working fine with VS2008 and Vista. Have you installed any other addins to Visual Studio? I had problems with CAB and GAX preventing creation of new projects. Tim __

Re: [WiX-users] Upgrade InstallShield package

2008-01-22 Thread Anidil
Unfortunately there is no working silent uninstall routine with the legacy install..Can't i ever upgrade in this situation? Christopher Painter wrote: > > UpgradeCode is an MSI concept. A non-MSI project doesn't have an > UpgradeCode. In these cases you either hope that the legacy install ha

Re: [WiX-users] The rollback action stops working

2008-01-22 Thread Jennifer Zhao
I found the reason by looking into the installation log. It is because the custom action file is removed before rollback is called. It is strange. Because this code worked before. :( -- View this message in context: http://www.nabble.com/The-rollback-action-stops-working-tp14950923p15015921.htm

[WiX-users] Advanced bootstrapper, does it exist?

2008-01-22 Thread Igor Lemsky
I need very advanced bootstrapper, which will install prerequisites in custom way (client choose what to install). Does somebody know such bootstrapper? - This SF.net email is sponsored by: Microsoft Defy all challenges. Micros

Re: [WiX-users] Get rid of distracting 'run from the network' installation in the root feature

2008-01-22 Thread Andrei
Bob, Thanks, your workaround works as magic. Andrei Andrei wrote: I have a simple feature tree. Absent="disallow" InstallDefault='*local*'...> Absent="disallow" InstallDefault='*local*'> ... Absent="allow" InstallDefault='*local*'> ... It appears that setting InstallDefault t

[WiX-users] Create an FTP Site in IIS

2008-01-22 Thread Matthieu RUNTZ
Hello to all, I'm looking at using WIX to create an FTP Site in IIS, what is the best way to do it? Should I use a VBS ? Thanks Matthieu - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual