Re: [WiX-users] Text Manipulation of Registry string

2007-04-30 Thread Rob Hamflett
Is there a programmer you could borrow from your company/friends? Rob Andre Nelson wrote: > Hey, > Thanks for that tidbit. I was hoping someone could guide me in the > writing of that custom action. I've done a couple here and there, but > none that do text manipulation so I am at a total los

[WiX-users] Uninstall event?

2007-04-30 Thread Thomas B
If I want to call a custom event right before files are deleted, what event would I chain it before? How to detect if it's an uninstall etc. (Our application needs to be called with a switch on uninstall) -T - This SF.net em

[WiX-users] ServiceInstall / ServiceControl

2007-04-30 Thread Simon Topley
Long time no see everyone! I am wondering if anyone else has seen this issue with Services... I suspect that it is a problem that we should handle but I thought I'd post on here first to got some thoughts. Using Version 2.0.4611.0 I am installing a service using ServiceInstall and ServiceControl

[WiX-users] Uninstall Question

2007-04-30 Thread bob private
Hi, I hope someone is going to be able to offer some advice on this issue as I seem to have hit a dead stop! I am new to WiX, so hopefully I am not missing any fundamental steps here. I am creating an installer for a web service. This web service needs to go through all of the testing phases, an

[WiX-users] Text Manipulation of Registry string

2007-04-30 Thread DE�K JAHN, G�bor
On Fri, 27 Apr 2007 17:10:21 -0400, Andre Nelson wrote: Andre, I have a custom action library with various string manipulation functions. My aim was to finish it and contribute it to WiX; this goal still stands but I haven't got the time to finish it yet... But it might already be enough for yo

Re: [WiX-users] Installing/uninstalling Services

2007-04-30 Thread F. David del Campo Hill
Dear Mike and others, Thank for the help! The service installs, starts, stops and uninstalls fine now when I use: ... ... But I have had to take the entry in the features list out since there is now no direct reference to the service installation, so that the serv

Re: [WiX-users] Installing/uninstalling Services

2007-04-30 Thread Tony Hoyle
F. David del Campo Hill wrote: > Do you know of a way to separate the service installation to a > separate component so it can be referenced and optionally installed > differently to the file it uses? Include the file in two separate components (one service, one not) with mutually exclu

Re: [WiX-users] Uninstall Question

2007-04-30 Thread Rob Hamflett
Sounds like you want a few RegistrySearch elements. After a quick search of Gábor's tutorial I found this if you want an example: http://www.tramontana.co.hu/wix/lesson1.php#1.5 Rob bob private wrote: > Hi, > > I hope someone is going to be able to offer some advice on this issue as > I seem

Re: [WiX-users] ServiceInstall / ServiceControl

2007-04-30 Thread Simon Topley
I'll answer my question incase anyone else hits this problem... According to articles on microsoft.com the ImagePath registry value is supposed to have quotation marks around the pathname of the services executable if the path contains spaces. This registry value is used for the pathname and comm

Re: [WiX-users] Check for at least one required

2007-04-30 Thread Scott Parker
Stefan: Thanks for the tip. As you were probably guessing, it was in fact an Ordering issue. Once I saw that column, a bit of research on the wix-users archives turned up what I was missing. Is there any way to specify the order rather than just ensuring that your publish actions are ordered las

[WiX-users] Apostrophe in TargetDir

2007-04-30 Thread Pallavi Patrutkar
HI All, In my project, if TARGETDIR contains Apostrophe, my service fails to start. Is it possible that I can have a deferred custom action for getting TARGETDIR in a DLL, by which I will format TARGETDIR by putting '\' before that? Can I edit TARGETDIR from a deferred custom action?

Re: [WiX-users] Apostrophe in TargetDir

2007-04-30 Thread Richard.Foster
How is the apostrophe getting into the TARGETDIR? Is it being entered / selected by the user, or are you attempting to author a folder which contains an apostrophe? Personally, I would suggest that the best thing to do is stay away from folders with odd names, but I understand that you may not

Re: [WiX-users] After changing "Program Menu" folder, shortcuts are not removed

2007-04-30 Thread Igor Maslov
OK, I can do that, but now I'm seriously doubting the walue of Windows Installer. I thought that it at least guarantees clean removal of whatever it installed. We had our own C executable that was installing and uninstalling our programs. It required maintenance effort, and I thought to move to

[WiX-users] CustomAction = .NET dependancy?

2007-04-30 Thread Chris.Rowland
My installer is failing on some systems, and it appears that its dependant on the .NET framework. My CustomActions were authored in VC++. Is .NET always a requirement of installers that use CustomActions or is this a result of the build settings I used to build the DLL? -

Re: [WiX-users] CustomAction = .NET dependancy?

2007-04-30 Thread Simon Dahlbacka
check your build settings (you are probably including /clr ) /Simon On 4/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: My installer is failing on some systems, and it appears that its dependant on the .NET framework. My CustomActions were authored in VC++. Is .NET always a requirement

Re: [WiX-users] ServiceInstall / ServiceControl

2007-04-30 Thread Wilson, Phil
This was a security fix that went into the MSI engine sometime - I don't recall the details of when. It's related to spoofing a service because of the way the SCM looks for the executable. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simo

[WiX-users] Trouble building with wcautil.lib

2007-04-30 Thread Chris.Rowland
In Visual C++ 2005 Express, everything compiles ok until I add the line: WcaInitialize(hInstall, "VerifyLicenseDir"); which yields the message: LicenseFileUtils.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] If I add #

Re: [WiX-users] Trouble building with wcautil.lib

2007-04-30 Thread Rob Mensching
RegKey operations are in advapi32. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, April 30, 2007 12:47 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Trouble building with wcautil.lib In Visual C++ 2005 Express, everything compiles ok u

Re: [WiX-users] how to make msi include an exe, 2 files without installing them

2007-04-30 Thread antoine antoine
Thanks! I may consider going back to wix 2 ;( >From: Bob Arnson <[EMAIL PROTECTED]> >To: antoine antoine <[EMAIL PROTECTED]> >CC: wix-users@lists.sourceforge.net >Subject: Re: [WiX-users] how to make msi include an exe, 2 files without >installing them >Date: Sun, 29 Apr 2007 22:13:42 -070

Re: [WiX-users] ServiceInstall / ServiceControl

2007-04-30 Thread Mike Dimmick
Yes, if someone manages to write a file named C:\Program.exe, that will run instead of your service, presumably with elevated privileges, resulting in a local privilege escalation vulnerability. If you have spaces in paths that will be handled by ShellExecuteEx, particularly, the path should be su

[WiX-users] Permission Element, and next v3 pre-release build?

2007-04-30 Thread Lewis G. Pringle, Jr.
Folks: I've just tried WIX, after a decade of suffering with Installshield, and I'm truly impressed! This is a major improvement! I'm using the latest WIX v3 pre-release build 3.0.2420.0. One of the few (blocking) bugs I've run into appears to be a known

Re: [WiX-users] Permission Element, and next v3 pre-release build?

2007-04-30 Thread John Vottero
Weekly builds are at: http://wix.sourceforge.net/releases/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lewis G. Pringle, Jr. Sent: Monday, April 30, 2007 10:07 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Permission Element, and next v3 pre-release build

Re: [WiX-users] CustomAction = .NET dependancy?

2007-04-30 Thread Bob Arnson
[EMAIL PROTECTED] wrote: My installer is failing on some systems, and it appears that its dependant on the .NET framework. My CustomActions were authored in VC++. Is .NET always a requirement of installers that use CustomActions or is this a result of the build settings I used to build the

Re: [WiX-users] Check for at least one required

2007-04-30 Thread Bob Arnson
Scott Parker wrote: > Is there any way to specify the order rather than just ensuring that > your publish actions are ordered last-to-first? If you use "floating" Publish elements, you can(/must) use the Order attribute. Otherwise, it's the order of your XML authoring. > Also, is this documente

Re: [WiX-users] After changing "Program Menu" folder, shortcuts are not removed

2007-04-30 Thread Bob Arnson
Igor Maslov wrote: > I thought that it at least guarantees clean removal of whatever it > installed. > It does, when you use its tables to do so. When you get user data or use custom actions, you're responsible for the data gathered. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] Trouble building with wcautil.lib

2007-04-30 Thread Bob Arnson
[EMAIL PROTECTED] wrote: In Visual C++ 2005 Express, everything compiles ok until I add the line: You might also need the Windows SDK to get all the headers. VC++Express is geared mostly toward .NET development. -- sig://boB http://joyofsetup.com/ -