Re: [WiX-users] Additions to existing web.config file

2006-09-11 Thread Crouch, John
Ok, I'll answer this myself. It looks like I don't have to install the xml config file to edit it. I can just start doing stuff like . . . and so on -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crouch, John Sent: Monday, September 11, 2006 4:04

Re: [WiX-users] System.Security.SecurityException when runningcandle

2006-09-11 Thread Jeremy Farrell
If Ben's like me, he'll find that Joe's and Bob's excellent explanations lead him to a cliff edge in a new world about which he knows nothing, and perhaps needs to know nothing other than what's needed to get WiX to work. If that's the case, just following this formula should do the trick. It sh

Re: [WiX-users] System.Security.SecurityException when runningcandle

2006-09-11 Thread Joe Kaplan
In this particular case, CAS is complaining because candle is signed, but isn't marked with the APTCA (AllowPartiallyTrustedCallersAttribute) in the assembly level attributes. As such, when it is launched from a partially trusted context (like a network share), it fails instantly. To get aroun

Re: [WiX-users] Starting .NET service depending on assembly installed to GAC

2006-09-11 Thread Bob Arnson
Petr Vones wrote: > I have problem with automatic start of a .NET service which depends on an > assembly which is installed into the GAC. > > It seems as the GAC installation is not finished when the installer is > trying to start the service (getting FileNotFoundException). Is there any > solut

Re: [WiX-users] System.Security.SecurityException when running candle

2006-09-11 Thread Bob Arnson
Ben Weatherman wrote: I have WiX installed on a shared drive .NET doesn't support running assemblies from a network by default. Caspol is the only workaround I know of. -- sig://boB http://bobs.org - Using Tomcat but

[WiX-users] Starting .NET service depending on assembly installed to GAC

2006-09-11 Thread Petr Vones
Hi, I have problem with automatic start of a .NET service which depends on an assembly which is installed into the GAC. It seems as the GAC installation is not finished when the installer is trying to start the service (getting FileNotFoundException). Is there any solution ? Thanks, Petr -

[WiX-users] System.Security.SecurityException when running candle

2006-09-11 Thread Ben Weatherman
I have WiX installed on a shared drive and when I invoke candle, I get the following error: Unhandled Exception: System.Security.SecurityException: That assembly does not allow partially trusted callers.    at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, Permission

Re: [WiX-users] Components and SQL Issues

2006-09-11 Thread Fredrik Grohn
1. You probably don't want to leave the component behind on the system on uninstall in any case. It sounds like what you really want to do is make the removal of the database conditional. That sounds like a perfectly valid feature request to me. Unfortunately I can't think of a way to do it with th

Re: [WiX-users] Components and SQL Issues

2006-09-11 Thread Bob Arnson
Tiago Silva wrote: > 1. My boss wants that the current setup of our application ask to the > user if he wants to keep the application database and settings. I have > two separated components and I evaluate if the components are to > uninstall or not. The problem is that the Components uninstall run

Re: [WiX-users] VC8 runtime issues under Vista RC1. (slightly OffTopic)

2006-09-11 Thread Kirill Kovalenko
Hello Mike, > Are you testing on a completely clean install of XP? Yes, of course. > runtime files haven't yet been committed to the Win32 SXS assembly folders by the point that the SelfReg table is processed Yes, it appears like something is uncommented. However, as I said before, by the time

Re: [WiX-users] VC8 runtime issues under Vista RC1. (slightly OffTopic)

2006-09-11 Thread Mike Dimmick
I'd guess that the runtime files haven't yet been committed to the Win32 SXS assembly folders by the point that the SelfReg table is processed, and therefore when the manifest is processed, the DLL load fails. No idea why this would work on XP, though, unless the assemblies were already installed.

[WiX-users] VC8 runtime issues under Vista RC1. (slightly OffTopic)

2006-09-11 Thread Kirill Kovalenko
Hello, We have an installation package that includes VC8 runtime libraries via standard merge modules (ATL, MFC, C++ runtime). The problem is that when SelfReg table (yes, I know that self-registration is evil) is being processed, the system cannot locate VC8 runtime files and returns error 0x800

[WiX-users] Components and SQL Issues

2006-09-11 Thread Tiago Silva
Hi there to all Wix users. I have two doubts regarding Wix that I would like to discuss with more experienced users. 1. My boss wants that the current setup of our application ask to the user if he wants to keep the application database and settings. I have two separated components and I evaluate

[WiX-users] Additions to existing web.config file

2006-09-11 Thread Crouch, John
Folks, As part of a Sharepoint web part installation I must add log4net information into the Sharepoint web site web.config file. Now, I know how to a) add a value to an existing key of a component I install b) add an element of a component I install How do I add something like this to an existin

Re: [WiX-users] Writing to Registry during uninstallation

2006-09-11 Thread Stefan Pavlik
Thanks for your replay. So I will need to write teh custom action when I want to support rollback for uninstallation. :-( thanks again stefan Bob Arnson wrote: > Stefan Pavlik wrote: >> Is it possible to write (in standard MSI way) some value to the >> registry during uninstallation of the pack

[WiX-users] SelectionTrees

2006-09-11 Thread Petrut Andrei
Hi. I have 2 UI windows and I need one SelectionTree in each of them. I want a Browse button and that label in which the path appears. When I change the path in one window, it changes in the second one also. Please give me a hint and tell me how to solve this. Thanks in advance.

Re: [WiX-users] Policy and Config files into the GAC?

2006-09-11 Thread Mike Dimmick
I previously had a set of policy files which I packaged using Visual Studio's Setup and Deployment project type. To check we're on the right page, we are talking about .NET publisher policy, right? Where you're redirecting an assembly reference to a different version of that assembly?   I ran

Re: [WiX-users] merge module for olepro32.dll

2006-09-11 Thread Mike Dimmick
Vb6stkit.dll is part of the Visual Basic 6 Package and Deployment Wizard and isn't required for your program at runtime. It's a support file required by Setup1.exe. There's no need to include this file. The P&DW regularly included files that weren't actually necessary or were part of the operating

Re: [WiX-users] Writing to Registry during uninstallation

2006-09-11 Thread Bob Arnson
Stefan Pavlik wrote: > Is it possible to write (in standard MSI way) some value to the > registry during uninstallation of the package ? > WiX v3 supports the RemoveRegistryValue element to do that but MSI itself supports the removal only of whole values (or keys), which won't really help you