Thanks Thomas!
I've actually put some efforts myself to create custom build with the
changes I need, but the one you pointed out seems to cover my fixes as
well and does even more. I'm looking forward to the patch from you,
'cause it seems to fix some extra things over Cody's code.
Again, thanks!
Hi all,
I have a custom action (that registers a dll):
Custom Action=Register After=InstallFinalizeNOT Installed OR
PROJECT_UPGRADE/Custom
Currently this action does not run in maintenance mode.
how do I make this custom action run on maintenance mode as well?
Thanks,
Eran.
Hi,
How to get the name and full name of the target machine, in wix ?
Thanks
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing
Hi,
My application depends on blow dlls
Microsoft's
MFC042.dll
MSVCRT.dll
ADVAPI32.dll
USER32.DLL
WSOCK32.DLL
In addition to the above it also depends on some third part libraries that
can be freely distributed with GNU Free license.
My question is that I
Hi,
I have some images (about 100+ files) that needs installed on target machine
under a tree with user specified location something like
userloc/assets/images this user specified location need not have to be the
program files location where the application is installed.
Can you suggest me
If DisableEnable1 is manually set to no or yes then the edit box behaves
as expected (enabled/disabled). I want to be able to set DisableEnable1
depending on whether a Feature has been installed.
?define DisableEnable1 = no?
Control Id=WSServerEditBox Type=Edit X=20 Y=72 Width=290
On 23 Feb 2009, at 11:03, Naga Ram .C wrote:
Hi,
I have some images (about 100+ files) that needs installed on target
machine
under a tree with user specified location something like
userloc/assets/images this user specified location need not have
to be the
program files location
Do you mean you're installing something like a .zip file, and want to
unzip it after installing?
Why don't you just add each of the files from the zip directly into
the WXS, and let the Windows installer handle things? You're not
limited to installing stuff under Program Files.
can you
I would recommend to start from MSI basics, like
http://msdn.microsoft.com/en-us/library/aa370561(VS.85).aspx,
http://msdn.microsoft.com/en-us/library/aa372830(VS.85).aspx and
http://blogs.msdn.com/robmen/archive/2003/10/04/56479.aspx.
Later on, take a look at this post:
Hello out there, I have a Problem with an Update installation from an old
InstallShield Setup. The new Setup is generated with the WiX toolkit. The old
Setup is from InstallShield. When I try the update on a Windows Vista PC it
fails, on an XP PC it goes all fine. The log of the Installer
Is there any relatively easy way to retrieve the product code of an
installed application, given its upgrade code?
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest
I too were using MessageBox.Show since nothing else seemed to work.
However, next problem is, that the MessageBoxes are not always in front and
loose focus. What you can do to make sure it always has the focus, is, using
MsgBox() from VisualBasic namespace instead. This method basically wraps
Excellent, exactly what I was looking for, thank you!
-Original Message-
From: Yan Sklyarenko [mailto:y...@sitecore.net]
Sent: Monday, February 23, 2009 10:05 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Given an upgrade code,retrieve the
Using iisext, I am able to attach my web application to a pre-existing
application pool. However, I can't seem to get it to leave the
application pool intact when the product is uninstalled. It removes it
regardless of whether the iis:WebAppPool element is in a component. Any
way to avoid this
The condition of NOT Installed means do this if the product is not
installed.
In maintenance mode the product is installed and upgrading isn't normally
relevant to maintenance mode; so this constraint keeps your CA from running.
standard disclaimer about using CAs / SelfReg / etc... to
Thanks Yen, I have read the manual, the only thing I am striving at is that
to know how to add multiple files
The following script I can add a file
Component attrs=...
File id= mpapp.exe, source=C:\MyApp/MyApp.exe
/Component
I have more than 100 images or can grown up in future, for which I
Not in C# but simple old VBScript (but does work). When I was first
implementing this it took a bit of bashing/googling to get it to work.
What's particular odd is the record seems to need to be 3 fields, but the
only the first and third fields are used. Also the error template just needs
to be
If you're on WiX 3, take a look at the heat utility to harvest the file
structure into the wix authoring. Note, that it is not intended for
usage as a build-time automation. Use it to get the initial version of
your source code and then tune it manually as required.
-- Yan
-Original
Reference:
http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx#configuration_properties
'ComputerName' will get you, well, the computer name.
Full name of the machine, I've normally gone after that with a CA of sort...
-Original Message-
From: sandun css
On 23 Feb 2009, at 15:37, Naga Ram .C wrote:
Thanks Yen, I have read the manual, the only thing I am striving at
is that
to know how to add multiple files
The following script I can add a file
Component attrs=...
File id= mpapp.exe, source=C:\MyApp/MyApp.exe
/Component
I have more
Greetings,
I'd welcome any feedback on the following approach to install multiple
versions (Live, Test, Training) of the same product using the same
source.
http://stackoverflow.com/questions/471424/wix-tricks-and-best-practices/578340#578340
I'll admit it definitely falls under the tricks part
In article e052e3c4090144l70b0da07hb4d872443d985...@mail.gmail.com,
akash bhatia 911ak...@gmail.com writes:
how can we add hotkeys for our own custom buttons ?
The Text for a PushButton control can have an accelerator designated
by preceding the letter in the text with an , i.e. OK
Same thing works in WiX, only it's XML so you have to use amp; instead of
.
Control Id='Next' Type='PushButton' X='320' Y='243' Width='60' Height='18'
Default='yes'
Textamp;Next/Text
/Control
Alt+N would then be the accelerator for the Next button.
-Original Message-
From:
Corrected my type-o on the Text element below... had a quote in there that
didn't belong...
-Original Message-
From: John Nannenga [mailto:john.nanne...@microsoft.com]
Sent: Monday, February 23, 2009 11:38 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] update Hotkeys
thanks for the help John,
I will try to explain my problem better:
I need to run a CA on 3 situations: new installation, maintenance mode and
project upgrade.
However, I do not want it to run during UnInstall.
currnetly, It runs on upgrades (thanks to the UpgradeVersion element) and on
new
I think the simplest solution for you is the reverse condition:
NOT REMOVE ~= ALL
This condition will be true for all states except when the product is being
removed.
-Original Message-
From: Mr_Geva [mailto:mail.g...@gmail.com]
Sent: Monday, February 23, 2009 1:20 PM
To:
Try this:
[CustomAction]
public static ActionResult DisplayMessageBox(Session session)
{
session.Log(Begin CustomAction1);
Record rd = new Record(2);
rd.SetString(0, [1] [2]);
rd.SetString(1, John Nannenga);
You can add OR REINSTALLMODE - REINSTALLMODE is set by the installer
when the product is reinstalled. I am not sure if it is set when the
product is modified but there should be one.
You can look at the MSI SDK for more info.
ערן גבע wrote:
Hi all,
I have a custom action (that registers a
Unfortunately it doesn't look like my idea to use MsiConfigureProduct in a
custom action is going to work - it's not allowed and complains that an
installation is already in progress. How would I use a bootstrapper to get
around this limitation?
-Dave Wright
On Sun, Feb 22, 2009 at 2:07 PM, Dave
*UPGRADINGPRODUCTCODE* property is set by Windows Installer when an
upgrade removes an application. An application determines whether it is
being removed by an upgrade or the Add or Remove Programs by checking
*UPGRADINGPRODUCTCODE*.
Which property is set by installer during the installation
All those Microsoft Dlls are part of the OS and have been that way since
Windows 2000. Unless you are supporting Windows NT 4.0 or old versions of
Windows 98 you don't need to install them.
Phil Wilson
-Original Message-
From: Naga Ram .C [mailto:nagara...@symphony.cc]
Sent: Monday,
That's correct, and you may want to first use MsiSetInternalUI if you don't
want whatever the default UI turns out to be.
Phil Wilson
-Original Message-
From: Dave Wright [mailto:d...@jungledisk.com]
Sent: Sunday, February 22, 2009 11:08 AM
To: General discussion for Windows
Use the property name from your Upgrade detection in the new setup.
Phil Wilson
-Original Message-
From: Joe Osman [mailto:joe.os...@tait.co.nz]
Sent: Monday, February 23, 2009 11:25 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Need help with
Hi,
I'm trying to change my installer so it can be run by users who don't have
administrative privileges. I've added a limited InstallPrivileges attribute
to the Package but I'm not sure of the best way to change the installation
location. I'm currently using ProgramFilesFolder as my base
This suggestion is problematic when the installation incudes .NET assemblies
that are registered in GAC or native DLLs registered as side-by-side (SxS)
assemblies. If either of these assemblies does not change in the major
upgrade, the assembly disappears after the major upgrade, leaving you with
Hey Colin,
What isssue are you seeing with the installation directory being
ProgramFilesFolder? Off the top of my head I don't remember that restriction
(http://msdn.microsoft.com/en-us/library/aa367800(VS.85).aspx).
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
I agree with your second statement but that is the price you pay for
this type of upgrade it is not specific to COM Plus.
I am not sure I agree with the first statement, it doesn't matter if the
component hasn't changed the upgrade will still remove it and put it
back. Well that is my experience.
During the actual installation my installer errors out with a message that
says: The installer has insufficient privileges to access this directory:
C:\Program Files\[My application]. The installation cannot continue. Log
on as administrator or contact your system administrator.
Colin
On Mon,
FYI, I finally did get this working. I had to move the Custom Action to the
UI sequence so that the uninstall would run before the install sequence
started. Seems to be working OK now.
-Dave Wright
On Mon, Feb 23, 2009 at 2:29 PM, Wilson, Phil phil.wil...@wonderware.comwrote:
That's correct,
Yes, right now the work around the SQL custom actions have been focused on
SQL Server.
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com
On Wed, Feb 11, 2009 at 11:05 AM, lesterbangs datapa...@gmail.com wrote:
Our products run on an Oracle 9i/10g
I admit that I am not a Windows Installer expert, but I'm not sure that I
understand the statement about the price you pay for a major upgrade. My
client app installation does not use any WiX extensions, the
RemoveExistingProducts sequence is after InstallFinalize, and it appears to do
major
Hey Sandun,
Please review this location.
http://wix.cvs.sourceforge.net/viewvc/wix/wix/test/
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com
On Thu, Feb 19, 2009 at 1:11 AM, sandun css sandun...@gmail.com wrote:
Hi,
Is there a way that I can
Hey Colin,
I am not sure that is a UAC issue from what you have shown me. Do you get a
UAC prompt? The error message is showing a directory with a property that
has spaces (which are not allowed). That might be one of the issues.
Directory Id=TARGETDIR Name=SourceDir
Directory
Prabhat,
This would be best directed at the SQLCE team.
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com
On Thu, Feb 19, 2009 at 11:10 PM, Prabhat Nath prabhat.n...@gmail.comwrote:
Hello,
How can I use the WiX component search (what GUID I Should
Hey Vincent,
There is no ability to enable your exact request in the WIX Schema itself.
However, if you look at the Heat.exe tool, provided in with the Wix Toolset,
it might give you some of what you are looking for.
Thanks,
Brian Rogers
Intelligence removes complexity. - Me
Hey Norman,
You would need to do something like this. XmlFile won't read that value and
expand your property. It will blindly replace the entire value.
util:XmlFile Id=ChildAttribute3 File=[#web.config]
Hey Brian,
Sorry for the confusion, I don't think this is a UAC issue (and no, I don't
get a UAC prompt, setting the InstallPrivileges to limited seems to be
suppressing that for me).
But I didn't know about the space in folder name restriction. The location
I was trying to install to was
Colin Bleckner wrote:
I'm trying to change my installer so it can be run by users who don't have
administrative privileges. I've added a limited InstallPrivileges attribute
to the Package but I'm not sure of the best way to change the installation
location. I'm currently using
Lough, Norman wrote:
I've tried various ways of detecting whether the user has selected my
feature - none of which appear to work - The component in which I
include the condition never gets installed (implying that the condition
always evaluates to false(?)) though all other components get
Thomas S. Trias wrote:
Sigh. If I schedule the action deferred, is there any good way to
propagate the results to the directory setting? I don't think that
there is...
No, it's too late by then, because the execution script has already been
written.
--
sig://boB
Sebastian Klemm wrote:
Hello out there, I have a Problem with an Update installation from an old
InstallShield Setup.
How are you doing it?
--
sig://boB
http://joyofsetup.com/
--
Open Source Business Conference
Dave Wright wrote:
FYI, I finally did get this working. I had to move the Custom Action to the
UI sequence so that the uninstall would run before the install sequence
started. Seems to be working OK now.
Understand that it won't run during passive or silent installations.
--
sig://boB
If those bracketed items are supposed to be the standard MSI property names,
they're incorrect. What you need is [COMPANYNAME] and [ProductName] .
Phil Wilson
-Original Message-
From: Colin Bleckner [mailto:co...@binarynoise.net]
Sent: Monday, February 23, 2009 3:14 PM
To: General
I agree getting the exec wrapped statements correct, required so we could
incorporate use of installer public properties in the sql statements, required
a couple of passes.
What we've found in testing of this build output is that everything worked once
I limited the sql:String statements to
Neil Sleightholm wrote:
Where do you have RemoveExistingProducts scheduled? Have you tried it
after InstallValidate so that is removes everything before reinstalling.
Neil
Neil Sleightholm
X2 Systems Limited
n...@x2systems.com mailto:n...@x2systems.com
I also do Major upgrades *all* the time. We have a large COM, COM+,
VB6
application and I don't dare play games with COM+ registries as I value
my
time too much :P It's a requirement for us developers to move back and
forth along the versions and I want to force uninstall our product
Don Benson wrote:
I also do Major upgrades *all* the time. We have a large COM, COM+,
VB6
application and I don't dare play games with COM+ registries as I value
my
time too much :P It's a requirement for us developers to move back and
forth along the versions and I want to force
Hi,
I have been searching for the last few hours and haven't been able to find
anything describing how to use WiX in a team build environment.
My problem is that the file source location is not available when built
using the tfsbuild server, if I set it using the source in my environment.
eg.
Thanks Neil.
This worked...but as I said, I am executing various sub-Actions inside my
Custom action.
Ex: I am firing 5 sub-actions inside my first CA. For every sub-action, I want
to send status to the UI. Using the below progressText, Text is shown as soon
as I fire the CA.
Is there any
I am not saying you are wrong just that there are other concerns when
doing upgrades, Bob posted this interesting article about the subject:
http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/.
Neil
-Original Message-
From: Don Benson [mailto:dben...@trulinx.com]
Sent: 23 February
I'm afraid I don't know if this is possible.
Neil
-Original Message-
From: Kusuma Sudheer Kumar (Tata Consultancy Services)
[mailto:v-kku...@microsoft.com]
Sent: 24 February 2009 05:47
To: General discussion for Windows Installer XML toolset.; Neil
Sleightholm
Subject: Re: [WiX-users]
The two Setups have the same Upgrade Code, the WiX Setup has a higher Version
number.
Sebastian Klemm
-Ursprüngliche Nachricht-
Von: Bob Arnson [mailto:b...@joyofsetup.com]
Gesendet: Dienstag, 24. Februar 2009 00:54
An: General discussion for Windows Installer XML toolset.
Betreff:
Have you tried using the built in project references:
http://wix.sourceforge.net/manual-wix3/votive_project_references.htm. I
believe they work in a TFS build.
Neil
-Original Message-
From: Lee Baker [mailto:lee.re...@gmail.com]
Sent: 24 February 2009 05:41
To:
Yeah, I figured as much. Hopefully running the package with
administrative privileges (keeping UAC in mind) will be sufficient.
Thanks,
Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/
Original Message
Subject: Re: [WiX-users] Metabase
64 matches
Mail list logo