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
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
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
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
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
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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
26 matches
Mail list logo