So I've spent a lot of time looking at this, with no luck so far. It looks
like my problem is that states change during the execution, and there is no way
for me to get the following behavior:
1. On first install, run my custom action to install the service
2. On uninstall, run my
I agree, not much disagreement. The way I look at it though is that
InstallFinalize doesn't really do anything other then execute script generated
by something else. For example if I wrote and scheduled a commit CA that did
something ( good or bad ) it might be being done inside InstallFinal
I don't think there's much disagreement here. As I (and the documentation)
said, it's InstallFinalize that does the commit, and I wasn't referring to any
of the other things that are associated with the term "commit". I specifically
mean that InstallFinalize is where fusion gets called to commi
I'm curious about this also. I've never really been asked to do driver
installation work and someone recently asking me to do this. They seemed to
be very fixated on the ability to write driver co-installers in C++. Is this
correct thinking or not? It seems with the declaritive nature
If you read Stefan's article ( which I'm sure you have ) commit execution is
really for cleaning up rollback information and isn't even run when rollback is
disabled by policy. Seing how MsiPublishAssemblies is a `Standard` action
instead of a Custom action I'm sure that it gets around this li
I am able to install drivers using DPInst.exe( It copies my drivers to
DriversStore)
I would like to do the same using WiX. With the following code I am able to
copy the drivers to the System32 directory But not to the DriversStore.
My objective behide doing this is I would like have an instal
It's not MsiPublishAssemblies, just in case someone is tempted to try moving
StartServices so that it's after MsiPublishAssemblies but before
InstallFinalize. It's InstallFinalize where the commit actions take place,
including the GAC assemblies.
AFAIK MsiPublishAssemblies mainly takes care
Thank you.
That helped!!
Hina
Brian Simoneau wrote:
>
> The $ must be outside of the parentheses.
> $(var.HelpSourceFolder) instead of ($var.HelpSourceFolder)
>
> -Brian Simoneau
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of hina1703
> Sen
Hina,
Looks like a small typo - your error indicates ($var.HelpSourceFolder),
the correct format is $(var.HelpSourceFolder). The dollar sign needs to
be outside the parenthesis. :-)
Regards,
Richard
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hina170
The $ must be outside of the parentheses.
$(var.HelpSourceFolder) instead of ($var.HelpSourceFolder)
-Brian Simoneau
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of hina1703
Sent: Thursday, October 11, 2007 2:47 PM
To: wix-users@lists.sourceforge.net
Subj
Thanks for your reply. I tried it but it gives
error LGHT0100 : File of type 'File' with name
'($var.HelpSourceFolder)\tutorial.pdf' could not be found.
I made sure that specified file exists at the specified path. Is there any
other way? Does any tutorial explain that?
Hina
Richard.Foster w
Hina,
It sounds as if what you really want is a standard preprocessor
variable.
Try something like this:
...
...
The mechanism shown above allows you to specify a
default value for the setting, and also override that setting from the
command line using (for example) candle
-dHelpSource
Is drvutil.dll your own DLL or are you using a third party dll? Googling the
name seems to imply that it might be from an APC SDK and in that case it's very
unlikely to follow Type 1 standard call declaration.You would have to
create a wrapper CA that invoke the APC DLL and pass the result
Richard,
Thanks for the reply. I am trying to specify the source folder at build
time. Rather than hard coding the path to pull the files for installation, I
need to set the path variable. So that if I change the source folder, I just
need to redefine the path variable & rebuild the installer.
I
Hina,
The $(env.Whatever) construct is used to pull a setting from the system
environment at build time.
The element is used to configure an environment setting on
the machine where the installation is performed.
The "correct" answer will depend on what you are actually trying to
accomplish. Ar
Yes it is, see this article
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx
Craig0ss wrote:
>
> Hi there
>
> I need to know if its possible to create a shortuct using wix to a file
> thats not part of the install
>
> thank you
>
I am looking for a way to set path variables in wxs file & use it to copy the
files to the targetdir.
I have written the following code:
then I am using it to copy the help file:
But while compiling I get error:
"fatal error CNDL0023: Undefined environment variable: $(env.PATH1)".
Can
I have a dialog in which users are going to be entering information. I know I
can use IniFile to write to a file. But I cant use IniFile in a Dialog or UI
so what would be the best way to write this information to a file after the
user enters it?
--
View this message in context:
http://www.nabbl
How are the Directory elements defined? If the Directory element for
ANOTHERDIR is under the Directory element for INSTALLDIR, then changing
INSTALLDIR is expected to change ANOTHERDIR as well.
-Brian Simoneau
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behal
The installer extracts the dll to the temporary location in order to
call the custom action and then deletes the temp file. The actual error
is in calling the custom action or in the custom action itself.
-Brian Simoneau
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTE
Sorry. I'm sure there was some really good reason why they wrote
MsiPublishAssemblies that way ( I don't buy the rollback reason getting it
to work at all is more important then getting it to rollback IMO ), but it
really stinks since installing in the Commit phase doesn't match the expec
... right, just checked it. Well, that really sucks ;(
Original-Nachricht
> Datum: Thu, 11 Oct 2007 06:20:23 -0700 (PDT)
> Von: Christopher Painter <[EMAIL PROTECTED]>
> An: Peter Bergmann <[EMAIL PROTECTED]>, wix-users@lists.sourceforge.net
> Betreff: Re: [WiX-users] Starting s
Let's say I have some features with a ConfigurableDirectory set to a
property:
...
...
If in a dialog the user changes the ConfigurableDirectory for one feature,
then the change impacts every other property by making the same directory
changes for them - for example if INSTALLDIR = "C:\Progr
I'm afraid that you haven't really solved it An immeadiate CA scheduled after
InstallFinalize won't have the needed permissions to start the service in
scenarios like UAC/Limited User and Elevated/Managed installations.
I would personally bite the bullet and get a bootstrapper together to
6599 is also too early - SxS is not ready yet at this point.
But I've solved it now as proposed by you and Rob using:
...
...
Many Thanks!
However I'm still wondering what the "official" way is to start up a service
that needs access to the included VC2005 distributable runtime libr
Hi,
I'm trying to unsinstall an app other then the one I install (by calling its
uninstall.exe).
Here is how I do this:
...
...
...
AND (!FullInstallation = 3) AND
APPUNINSTALL
...
Well, I want the custom action executed only on
I have a customaction as follows which invokes the "IsUPSPresent" function
inside drvutil.dll.
As i see in the verbose MSI logs, installer seems to have accessed "DLL:
C:\Windows\Installer\MSI8342.tmp" instead of the actual dll specified, and
the MSI end up in install failure.
Am
You could try using the quiet exec custom action to run "sc start
".
Run
Peter Bergmann wrote:
> nope ... that did not work.
> If I force StartServices directly after install finalize either using orca or
> using "Sequence=..." the install process terminats with error code 2762 in
> the very e
nope ... that did not work.
If I force StartServices directly after install finalize either using orca or
using "Sequence=..." the install process terminats with error code 2762 in the
very end ... whatever that means ...
Original-Nachricht
> Datum: Thu, 11 Oct 2007 13:08:55 +
Sounds evident, if I'm not wrong... the answer is in your letter.
Have you tried sequencing it with installexecutesequence (and
adminexecutesequence)?
I mean adding
It should work as an override.
A typical value for enter_a_sequence_number_big_enough_here could be
anything > 6600, e.g. 6700 s
I'm writing an installer that installs a service which depends on the VC2005
runtime libraries. I'm including the runtime's .msm files using and
which works just fine.
However at the time when the StartServices action gets triggered the SxS stuff
obviously is not yet in place and my service fa
Hi there
I need to know if its possible to create a shortuct using wix to a file
thats not part of the install
thank you
--
View this message in context:
http://www.nabble.com/Create-shortcut-to-file-thats-isnt-part-of-the-install-tf4606152.html#a13152567
Sent from the wix-users mailing list a
Hi
I need to know if its possible to share a directory as part of the install??
If this is possible any ideas on how to go about it
Thanks
--
View this message in context:
http://www.nabble.com/Share-a-directory-using-WIx-on-install-tf4606151.html#a13152564
Sent from the wix-users mailing li
33 matches
Mail list logo