Re: [WiX-users] Another XMLConfig problem

2008-01-07 Thread INRO(Robert Inzinger)
No idea? Is it a bug? Robert -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von INRO(Robert Inzinger) Gesendet: Donnerstag, 27. Dezember 2007 13:18 An: wix-users@lists.sourceforge.net Betreff: [WiX-users] Another XMLConfig problem Hi

[WiX-users] Roolback Custom Action

2008-01-07 Thread SaiTeja
HI, following are custom actions CA_installlog is to install some thing CA_uninstalllog is to uninstall the same thing. CustomAction Id='CA_uninstalllog' BinaryKey='CustomDll' DllEntry='CAction_uninstall' Execute='immediate'/ CustomAction Id='CA_installlog BinaryKey='CustomDll'

[WiX-users] append to Property

2008-01-07 Thread Jason Rivers
Hi all First of all, Happy new year. We have to have customized keyboard Layouts for out product, these are installed by a custom action written in C. I have a property, I'm getting the default keyboard layout from the registry. (HKCU\Keyboard Layout\Preload) and writing it to a Property called

[WiX-users] System Services

2008-01-07 Thread SaiTeja
Hi, In my project am using guarsvc.exe. Following is the code for the same Component Id=guardsvc.exe Guid={8D6F5BA9-DA8C-403F-8092-FD5A05616B2B} DiskId=1 File Id=guardsvc.exe Name=grds.exe LongName=guardsvc.exe KeyPath=yes Source=guardsvc.exe / ServiceControl Id=GuardvcEvent Name=GuardSvc

[WiX-users] Writing variables to a file at install time

2008-01-07 Thread Mole, Chris
Is there any way to write a variable to a file at install time? For example, let's say that the installation directory is set to c:\myapp at install time. Is there any way to write dir=c:\myapp to c:\myapp\myapp.properties?

Re: [WiX-users] How to detect if UAC is turned on

2008-01-07 Thread Scott Palmer
On Jan 4, 2008 6:04 PM, Chesong Lee [EMAIL PROTECTED] wrote: Can I ask why you want to prevent your setup to be launched with UAC enabled? Your installer will be run with UAC on most of the cases. Probably not without degrading the thread to a flame fest :-) Let's just say after careful

[WiX-users] CustomAction: How to use a Property in another CustomAction

2008-01-07 Thread Chris
Hi there, I want to use a property, which I set with a CustomAction, in another CustomAction. The problem is that I always get the value with which I initialized that property - which is 0 in my case. How can I solve this problem - here the interesting part of my wxs: Property Id=XMLARGS Value=0/

[WiX-users] Help with installing Visual Studio Help Extensions.

2008-01-07 Thread John Gilbert
Hi: I am trying to add some Visual Studio Help files to my installer package. I have not been able to find any complete documentation or samples that show how to do this. Anybody have a couple minutes to help me with this or refer me to where I can get some assistance? What would be

Re: [WiX-users] CustomAction: How to use a Property in another CustomAction

2008-01-07 Thread Richard
In article [EMAIL PROTECTED], Chris [EMAIL PROTECTED] writes: I want to use a property, which I set with a CustomAction, in another CustomAction. The problem is that I always get the value with which I initialized that property - which is 0 in my case. What does your verbose log say?

Re: [WiX-users] Writing variables to a file at install time

2008-01-07 Thread Brian Rogers
Hey Chris, I believe the most Windows Installer compliant way to do this would be by passing a delimited string from an immediate action to a deferred action. In the deferred action you would need to parse the properties and then you can write to a file of choice. I have written something (I

Re: [WiX-users] Help with installing Visual Studio Help Extensions.

2008-01-07 Thread Simon Dahlbacka
Unfortunately, the web is *very* on this documentation, however I've blogged about the subject http://mostlytech.blogspot.com/2007/11/integrating-help2-files-into-vs-2005.html http://mostlytech.blogspot.com/2007/11/integrating-help2-files-into-vs-2005_04.html this might get you off the ground..

[WiX-users] Wrapper dll required?

2008-01-07 Thread ACKH
Hi all, I have a simple dll that contains a function with two parameters. Now I would like to call this function in a Wix custom action. Unfortunately MsiGetProperty is not used inside that function and it is not possible to adapt the dll accordingly. So my question basically is: Am I forced to

Re: [WiX-users] Wrapper dll required?

2008-01-07 Thread Richard
In article [EMAIL PROTECTED], ACKH [EMAIL PROTECTED] writes: I have a simple dll that contains a function with two parameters. Now I would like to call this function in a Wix custom action. Unfortunately MsiGetProperty is not used inside that function and it is not possible to adapt the

Re: [WiX-users] System Services

2008-01-07 Thread Wilson, Phil
Try Wait=yes. When wait=no you can get a timing race between the service actually winding down (and the process terminating) and the attempt to delete it. The message might be a consequence of the process still running. Phil Wilson -Original Message- From: [EMAIL PROTECTED]

[WiX-users] DiskCost dialog is not being udated

2008-01-07 Thread Davut Karabay
I have a PathEdit control where user could enter installation location. I realized that hitting Disk Space button, which brings up DiskCost dialog does not show the cost updated based on user input. DiskCost dialog uses VolumeCostList control to show the cost. After playing around I realized

[WiX-users] Duplicate GUIDs caused by managed merge modules

2008-01-07 Thread JCWrs
I used to build my wix installer with SharpDevelop and I never noticed this problem since it didn't throw an error. I'm migrating it to Visual Studio so it can be built alongside everything else, nightly, and I'm seeing a problem. The merge modules I use which are generated by VS setup projects

[WiX-users] How do I preserve properties between INSTALL/UNINSTALL?

2008-01-07 Thread dB.
I get a property value from the UI on install. Then I try to do uninstall and I don't get the same property value. How can I preserve the values between install and uninstall? Thx dB. -dB. dblock.org http://www.dblock.org/ / foodcandy.com http://www.foodcandy.com/

Re: [WiX-users] Duplicate GUIDs caused by managed merge modules

2008-01-07 Thread Richard
In article [EMAIL PROTECTED], JCWrs [EMAIL PROTECTED] writes: [...] The merge modules I use which are generated by VS setup projects (I have no say in this) are read in by wix and their base components are all showing the same GUID. Let me guess, you have several merge modules which

Re: [WiX-users] How do I preserve properties between INSTALL/UNINSTALL?

2008-01-07 Thread Richard
In article [EMAIL PROTECTED], dB. [EMAIL PROTECTED] writes: How can I preserve the values between install and uninstall? Write the property into the registry on install and use AppSearch to scrape it out of the registry. This will reconstitute the property value on modify, repair and

Re: [WiX-users] Wrapper dll required?

2008-01-07 Thread Christopher Painter
InstallShield has such support and it would be useful if WiX did also. Basically there is a custom table that you can use to describe dll, exported function name, arguments and return and map them to/from constants and properties. The engine ( DLLWrap.dll ) is about 200k. The dll is

Re: [WiX-users] How do I preserve properties between INSTALL/UNINSTALL?

2008-01-07 Thread Christopher Painter
I never undestood why MSI doesn't have this automatic state saver pattern built in. BTW a better approach is to read the results of AppSearch into another set of properties and assign the primary properties only if they are null. This allows you to service repairs and upgrades with

Re: [WiX-users] Duplicate GUIDs caused by managed merge modules

2008-01-07 Thread JCWrs
Richard-45 wrote: In article [EMAIL PROTECTED], JCWrs [EMAIL PROTECTED] writes: [...] The merge modules I use which are generated by VS setup projects (I have no say in this) are read in by wix and their base components are all showing the same GUID. Let me guess, you have

Re: [WiX-users] Wrapper dll required?

2008-01-07 Thread Richard.Foster
Hi Chris, Oops... no I didn't mean to reply just to you. Bringing the list back in on the conversation! I'm certainly not trying to imply that all custom actions are evil, but a significant amount of time and effort have gone into the built-in Microsoft custom actions, and the ones so far

Re: [WiX-users] Wrapper dll required?

2008-01-07 Thread Christopher Painter
I hear you. I think a short reply to all of this would be that IMO some people need to learn to tweak the message based on the audience. BTW, Beer sounds good. I had eased off on the stuff but now that I have a new neighbor I find myself drinking a lot more of it.Funny how putting a

Re: [WiX-users] Wrapper dll required?

2008-01-07 Thread Christopher Painter
Btw, putting two parts of our thread in closer context make me wonder something aloud: I wonder if/when a major setup vendor will come along and grab WixCA and use it in their own install solutions. In otherwords, not adopt WiX/Candle/Light, but instead include the custom tables

[WiX-users] 32 64 bi

2008-01-07 Thread DE�K JAHN, G�bor
On Sun, 6 Jan 2008 22:19:51 -0800 (PST), SaiTeja wrote: SaiTeja, In my case I dont want separate features. I modified the code. Plz have a look and let me know Macros are evaluated on *your* machine when you compile not on your users' machine when they install your application. You can't use

Re: [WiX-users] How to detect if UAC is turned on

2008-01-07 Thread Mike Dimmick
Right, let's explain UAC. When a member of the Administrators group logs in to Windows with UAC enabled, he gets a token which does not contain the Administrators group (well, actually it does, for Deny Only - that is, the Administrators group cannot be used to gain access, but if an ACL

[WiX-users] SharePoint STSADM commands

2008-01-07 Thread Tom.Chmielenski
Is anyone using SharePoint STSADM.exe commands with Wix? If so, how? For those that don't know, STSADM.exe is a command line interface to SharePoint for adminstrators. I am installing a custom Site Definition and trying to register a couple of our SharePoint features the following commands.

Re: [WiX-users] How to create help file shortcut icon?

2008-01-07 Thread SaiTeja
You can use hh.exe C:\windows\hh.exe as source. DEÁK JAHN, Gábor-2 wrote: On Thu, 3 Jan 2008 08:57:04 -0800, Chris Weiss wrote: Chris, the problem of creating a help icon for my .CHM shortcut. Should I be creating a single DLL that only contains the help icon (and if I copy the one

Re: [WiX-users] System Services

2008-01-07 Thread SaiTeja
Hi, I tried with Wait=yes. But still am getting same error. :( Action 11:56:57: UnpublishFeatures. Unpublishing Product Features UnpublishFeatures: Feature: TPFeature Action 11:56:57: StopServices. Stopping services StopServices: Service: Test Prg Service Error 1921. Service 'Test Prg Service'