I have a small delphi DLL that looks like this
library Project1;
uses
SysUtils,
Classes,
Dialogs,
Windows;
{$R *.res}
function cShowMessage(thing:string) :integer ; export;
begin
ShowMessage(thing);
cGetVersion := 0;
end;
exports cGetVersion;
begin
end.
And then inside my wix appl
Hi,
I just realized that "transitive" has no relevance to this - Since the registry
key component has no component condition to it. My registry key to set to a
property value that depends on the check box being checked on or off. But
during maintenance mode, since the key already exists, the key
Thanks Palbinder and Chris !
I didn't realize it is a msidbCustomActionTypeExe type CA. that can
explain.
and final question from me, what's the recommend way to launch the file
after install ?
Wix Tutorial and Manual show us two different way, any Pros vs Cons?
thanks!
William L.
On Mon, May
Dear All,
After searching on the Internet, I'm still not sure about the exact registry
keys/values to modify such that future Repair/Modify will use the msi that we
cache locally on the machine hard drive. So far I have found value name
LastUsedSource under the following two keys:
HKEY_CURRENT
Hi,
I have a registry key that gets set to a value based on a check box that the
user clicks during the initial UI.
The same check box is available during maintenance mode. So if the user had
initially turned it(check box) on during the initial install, and then decides
to turn it off during ma
A condition of Not Installed sounds right.
[[However, if your custom action is associated with a component or a feature,
sometimes a feature condition is more appropriate because the feature may be
uninstalled and later reinstalled, or not chosen at install time etc. ]]
Phil Wilson
-Or
OK, I figured my particular case out.
The condition you want to use is simply "NOT Installed".
Example:
NOT
Installed
In this example, the MyCustomAction action will be run during the installation
sequence, but will not be run during the uinstall sequence.
Brad
-Original Message-
F
Is there a good FAQ anywhere? It is so frustrating trying to figure out how to
do things that zillions of others must be doing all the time...
In my case, I just want to run a custom action at install time. I have the
custom action running just fine at install time now, but it also gets run when
That's correct. You can do that only if you arrange for the enire install to be
elevated by launching with an elevated launcher.
This is one of the reasons people keep steering you towards the standard
actions for starting services etc. Providing you can get the dependencies under
control it a
Does that mean that the service has the same problem as your custom action
program - missing dependencies?
Phil Wilson
-Original Message-
From: Brad Lemings [mailto:b...@rebit.com]
Sent: Friday, May 20, 2011 11:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re:
Ah. My original question wasn't entirely accurate. :)
I meant to ask, is it possible to execute a custom action WITH ELEVATED
PRIVILEGES after InstallFinalize?
-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Monday, May 23, 2011 9:15 AM
To: General discu
http://www.tramontana.co.hu/wix/lesson3.php#3.2
Palbinder Sandher
Software Deployment Engineer
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Regist
Can you send a link for the custom action in the Wix tutorial?
Thanks.
-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Monday, May 23, 2011 5:33 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Elevated Custom Actions
Fa
A limited user cannot install to Program Files on XP. The default file
permissions prevent it.
-Original Message-
From: Chris [mailto:h48c...@werritech.com]
Sent: 21 May 2011 14:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] A question about MSI capabilities
Greetings folks,
False to the best of my knowledge. The Visual C++ merge modules put an
Uninstall Custom Action (SxsUninstallCA) after InstallFinalize & the WiX
tutorial uses a Type 2 Custom Action after InstallFinalize to show how
to launch an installed executable.
Palbinder Sandher
Software Deployment Engineer
FYI the guidelines have been saying that for the NT platform since at
least NT4 to the best of my knowledge (NT 3.1 & 3.5 were before my time)
which is around 15 years so far. Microsoft had to create UAC to enforce
the rules as developers were happy to ignore them otherwise & thus
instil certain ex
On 23/05/2011 20:01, Pally Sandher wrote:
> With regards to "putting the entire app into the users profile area if
> on Vista+[1], or program files for XP-" just no. Correct behaviour would
> be to put the app into the users profile area *regardless* of operating
> system when run by a user without
LaunchFile is used as an identifier. It means nothing outside the
context of that package. It could be called
Supercalifragilisticexpialidocious for all the difference it would make.
That code defines a Type 2 Custom Action & if you look down the page to
the next paragraph you'll see where it is se
Hi William,
The ID in that custom action is just a name to identify it. In this case
LaunchFile was used to make it very clear what it was doing. You could name it
whatever you want to make it clearer for yourself. To further answer your
question it is not a predefined custom action, but rathe
All of what you're trying to achieve sounds eminently possible using
Windows Installer. I'm not sure if non-MSI setup systems can even
support advertised installation using advertised shortcuts.
With regards to "putting the entire app into the users profile area if
on Vista+[1], or program files f
Hi Palbinder,
Thanks for the info, I noticed that article before. That one is easy to
understand.
my question is, from this tutorial:
http://www.tramontana.co.hu/wix/lesson3.php
following solution also works, as I verified:
<*CustomAction* Id='LaunchFile' FileKey='FoobarEXE' ExeCommand=''
Return
I suspect the following manual page is what you're looking for ->
http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm
Palbinder Sandher
Software Deployment Engineer
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate + Innovate with the **
Hi,
Is the LaunchFile action a standard custom action provided by Windows
Installer?
I tried to search it, and no hits.
All I know is, it can launch the installed application after installed with
File Key:
http://www.tramontana.co.hu/wix/lesson3.php
but I didn't find its implement in any wix ca dll
23 matches
Mail list logo