Re: [WiX-users] Silent Custom Installation

2007-10-25 Thread Albert Tuulas
Hi, Your C code is fundamentally wrong. You need to get target dir from MSI db, and check for free space only on it, for example To get - set MSI property use MSI API calls, like MsiSetProperty() or MsiGetProperty(). For example of implementing the DLL for custom actions, read through

Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Rob Mensching
I'm admittedly hardcore about this but IMHO custom actions should be native code DLLs that have as few dependencies as physically possible (certainly should have no dependency on WTL). Statically linking the CRT then use as few DLLs from the system provides the highest probability that the cod

Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Aris Green
In regards to Rob Mensching's comment, > >Statically link. That's what all the WiX CustomActions do and while it >makes the DLLs a bit bigger it totally minimizes the number of >dependencies (especially nasty ones like the Win32 SxS CRT junk). Static linking definitely seems like the right thing

Re: [WiX-users] MMC Snapin

2007-10-25 Thread Rob Mensching
There is an extension in WiX v3 that handles much of the authoring work for you. Levon Levonian wrote: > > Hi All, > > > > Is there a (easy) way to deploy an MMC Snap-in? > > - This SF.net email is sponsored by: Splunk Inc

Re: [WiX-users] wixout file format

2007-10-25 Thread Blair Murri
The format is only "binary" when there are embedded files. That happens when one of the source files was built passing the -bf option to light.exe (or a similar argument to some similar utility). If that argument was never used, the wixouts generated will never have embedded files "in" them, and

Re: [WiX-users] detecting .net 2.0

2007-10-25 Thread Matt Hoover (VSNC)
I don’t remember the exact mechanics, but the later installers do bootstrap the earlier installers and service packs. I am forgetting right now where .Net 2.0 SP1 was introduced, but by the time .Net 3.5 is installed, .Net 2.0 will be patched to the SP1 level. Without looking at the installers

Re: [WiX-users] detecting .net 2.0

2007-10-25 Thread Kelly Leahy
Thanks Matt. That was the critical piece of information I was missing. So is the .NET 3.0 installation actually a bootstrapper that installs the .NET 2.0 installation via delegation to the original .NET 2.0 package, or are the installs combined? I guess the answer doesn't really matter, but I

Re: [WiX-users] detecting .net 2.0

2007-10-25 Thread Matt Hoover (VSNC)
It is not possible to have only .Net 3.0 or only .Net 3.5. .Net 3.0 builds upon and extends .Net 2.0, and if .Net 2.0 isn't installed when you install .Net 3.0, it will install .Net 2.0 for you. And .Net 3.5 builds upon and extends .Net 3.0, so it will also install and/or patch .Net 2.0 and .N

[WiX-users] Removal of file on uninstall

2007-10-25 Thread Jaguar 36
Hi, I discovered a weird problem when uninstalling. I had a file in WindowsFolder as well as a file in SystemFolder. Key was set to Permanent="no" for both files. On uninstallation, the one in WindowsFolder got removed while the one in SystemFolder did not. I even tried to explicitly remove the

[WiX-users] detecting .net 2.0

2007-10-25 Thread Kelly Leahy
I found this post - which is very helpful: http://blogs.msdn.com/robmen/archive/2006/10/17/wix-v3-syntax-for-detecting-the-clr.aspx However, I've read that .NET 2.0 applications will work with .NET 2.0, .NET 3.0, or .NET 3.5 installed (as they all use the same core CLR 2.0). Is the NETFRAMEWORK

Re: [WiX-users] Hiding shortcuts from non-priveleged users

2007-10-25 Thread Christopher Painter
If your putting a shortcut on the desktop, you'll first want to read about how it's not a really good idea in the first place. http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx That said, I know NTFS supports controlling who can

Re: [WiX-users] Hiding shortcuts from non-priveleged users

2007-10-25 Thread James Finnigan
(FYI: It's against the Vista UX guidelines. Standard users should be able to supply admin credentials when they launch the shortcut. They can't do that if they can't see it.) There is no way to do this that I know besides writing a shell folder junction point in the start menu (seems like a l

[WiX-users] Hiding shortcuts from non-priveleged users

2007-10-25 Thread Werner, Harvey D
I have a shortcut to uninstall our product, but I want that shortcut to only display for privileged users. I don't what just any user seeing it from the start menu. How is that done? For a local user not in the Administrators group, Add or Remove Programs has no Change button for our applic

[WiX-users] Undefined reference in Type 35 custom action

2007-10-25 Thread Steve Wood (OCS)
I have an installer that includes a merge module: ... ... And I want to set the INSTALLDIR of the merge module to track the INSTALLDIR of my installation package, so I tried this: And get this error from light.exe: 100>foo.wxs : error lght01

[WiX-users] Installing IIS after .Net Framework 2.0 is installed

2007-10-25 Thread Abdullah Ahmed
Hey guys, I have a wix project which installs IIS and .Net Framework 2.0 as pre-req's. In the case of windows 2k3 sp2 the 2.0 framework is already installed buy IIS may not be installed...so the installer goes ahead and installs IIS and runs aspnet_regiis /i via the command line to register asp.ne

[WiX-users] MMC Snapin

2007-10-25 Thread Levon Levonian
Hi All, Is there a (easy) way to deploy an MMC Snap-in? Thanks! ** READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incor

[WiX-users] Adecco: 3-6 Month Consulting role (Boston, MA) Sr. Wix Release Engineer

2007-10-25 Thread Schecter, Todd
Hello All, I was referred by one of the members of the group to join this group. I have a immediate need for a consultant in Boston. Please email me you resume if you are interested in this role We are current looking for a Sr. Packaging Engineer for a 3month+ consulting project in Do

Re: [WiX-users] wixout file format

2007-10-25 Thread Rob Mensching
Adam Majer wrote: > light.exe 3.0.2925.0 > > [snip] > -xo output xml instead of MSI format > [snip] > > So either xml is not xml or -xo file format changed but documentation > has not. > Hah, you're right. I guess VS and Office had more to grudge us than I gave them credit for.I'll

Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Rob Mensching
Aris Green wrote: > > > A question, how do VC 2005 CA's requiring the C++ CRT Dll work on > Vista? Any > CRT using C++/CLI require a DLL link to the CRT. > Statically link. That's what all the WiX CustomActions do and while it makes the DLLs a bit bigger it totally minimizes the number of dep

[WiX-users] Deleting files during Uninstall

2007-10-25 Thread Harini Gurusamy
Though my Uninstall succeeds , it does not remove the installed files. I am not using any attributes like permanent =yes in my code. From the log files,looks like a success ( return values=1 ) MSI (s) (F4:98) [07:59:01:700]: Doing action: RemoveFiles MSI (s) (F4:98) [07:59:01:700]: Note: 1: 2205

Re: [WiX-users] Easy WiX way for a custom action to call multiple utility DLLs?

2007-10-25 Thread Aris Green
Try embedding the other DLL as a custom resource using the .rc file. Extract the DLL first thing when the CA is called. Use delayload linker option or LoadLibrary to call the function in the extracted DLL. I've done this before. A question, how do VC 2005 CA's requiring the C++ CRT Dll work on V

Re: [WiX-users] wix 2.0 to 3.0 - COM registration

2007-10-25 Thread Karim MacDonald
Strele Franz-2 wrote: > > You can use the 'undocumented' "-scom" switch with heat.exe to generate > only RegistryKey/RegistryValue-entries (instead of Class/ProgId/...). > Many thanks Stele, for both posts: the -scom switch works perfectly & I can use it guilt-free! I wonder if there's a featur

Re: [WiX-users] uninstall from control pannel does not remove all files

2007-10-25 Thread Richard
In article <[EMAIL PROTECTED]>, chandan Koushik <[EMAIL PROTECTED]> writes: > i have installed a web application using wix3.0 .the installation was > successful.But when i try to uninstall the application using control > panel>>add remove programs, the application vanishes from the add

Re: [WiX-users] Checkbox does not recognize when it is checked

2007-10-25 Thread xyavier
I got the checkbox to work, but I still have a problem. My problem with the checkbox was that I was presenting the checkbox during the uninstall process. When I present the same code during install it works fine. The problem is that I don't want to ask the user if he wants to uninstall extra files

[WiX-users] Wix v3 SQL Error

2007-10-25 Thread Christoph Brennecke
Hi, i have created a Wix project in Visual Studio 2005 which, among other things, should create a SQL database, but i'm always getting a compile error with light.exe: Build log: -- Build started: Project: Bit.PowerEconomizer.Setup, Configuration: Debug Any CPU -- C:\Pr

Re: [WiX-users] WiX-users Digest, Vol 17, Issue 119

2007-10-25 Thread Simon Topley
Thanks Bob, I'll give it a spin later today.. Simon -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 24 October 2007 16:03 To: Simon Topley Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users Digest, Vol 17, Issue 119 Simon Topley wrote: > I assume