You'll want to use instead. Include
WixUtilExtension.dll with and use:
This will append the permissions rather than replacing them.
Remember to add xmlns:util="http://schemas.microsoft.com/wix/UtilExtension
" in your element.
-kevin
> I am using Wix Release 3.0.4102.0 and I want to gra
Greetings,
Does anyone have an example of building multi-language WiX installers
with MSBuild? I've looked at the single-language examples, but what
I'd like to do is have a .wixproj that builds an installer in 10+
languages.
My current process uses the WiX tools manually through batch file
Based on results the compiler doesn't like my attempt to use a Binary file id
reference comprised of a public property value
[#MyService.exe.[ENVIRONMENTID].config].
That being the case Is there some way of accomplishing this file name reference
that I'm overlooking?
From: Robert O'Brien
Sent:
is it valid to reference a binary file id using a public property value?
e.g. if I have the following public property and binary files defined
Then should the following approach for referencing an environmentid public
property associated binary file going to work?
tia
--
Try out the "Feature and Component State Values" section at the bottom of
this page: http://msdn.microsoft.com/library/aa368012.aspx
You will probably use the $ComponentId=3 for installation, and
$ComponentId=2 for removal. Note that you may get true for $ComponentId=3
during repairs if some ke
I am using Wix Release 3.0.4102.0 and I want to grant Network Service access
to Application Event log. I am declaring this as:
Th
I am trying to upgrade an application with some upgrade code, so I am
uninstalling it. But I want to reinstall my current application into the
same folder, so I need to find out the directory of the previous app.
I got an Upgrade table with the correct upgrade ID and that tells me
that I have a
Hi Everyone,
I was wondering if anyone could point me in the direction of a working
example of how to define performance counters through the
WixUtilExtension?
Perhaps I'm missing something obvious, but the only docs I find are for
the schema (which is nice, but not much of a how-to) and a few pe
I have a dialog where a user enters the instance (server name) of the SQL
Server that I'm going to create a database on. I want to know how to verify
that the instance exists. How can I accomplish this? Does anyone have an
example? I tried using a VB Script but that only looked at instances on t
PGP the files, then send the public key over CustomActionData. :-D Is
that *too* creative?
Chris
On Tue, May 6, 2008 at 2:41 PM, Rob Mensching <[EMAIL PROTECTED]>
wrote:
> Note: if you extract code files out during the script generation phase
> then use them during the execution phase and yo
Yeah, I had feared the properties would be like that. There doesn't seem to
be a "get me all the current properties" type of method. There probably is
a way, I'm just not that smart. ;-)
We maintain our database deployments and upgrades in a .sql file. It
generally starts life as the output fro
Does the verb element accept Advertise="yes"? (yes, I know I could go look
it up, but I am assuming that with that attribute missing, it is going into
the Registry table instead of the Verb table and thus MSI can't find the row
it is looking for).
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTE
Since my email is being screwy (bounce, bounce, bounce):
Be *very* *very* careful that the second custom action does not elevate or has
some way to verify that the supporting files were not tampered with.
(Another idea to my first idea of marshalling the binary data through
CustomActionData, wo
Yes, it does and it should default to the same as the parent (actually required
to be the same as parent).
From: Blair Murri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 06, 2008 11:40
To: Michal Malka; Blair Murri; Bob Arnson
Cc: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-u
You can't just look for Properties in the Property table because technically
they can be defined at any time. Only the Properties that have non-blank
default values are in the Property table.
However, the different bracketing style is a very interesting idea. It's lots
and lots of string proc
Newbie - I have a similar need to use support DLLs and action during
install and uninstall.
Can somebody please explain or provide a link to a sample on how to use
custom action to extract binary files?
-
This SF.net email is
Note: if you extract code files out during the script generation phase then use
them during the execution phase and your deferred Custom Action is elevated,
you could be open to an elevation of rights attack. Namely, the attacker could
wait for your first custom action to lay down the DLLs to t
Fair enough. I know that SQL uses the square brackets itself, and I had
just stripped those out since I don't use characters that require them in my
SQL object names. I had also toyed with the idea of using a different
bracket style for my properties.
How about if I got all the records in the P
I'm not sure if you'll still have the problem, but my guess is that you
will.
Our 'ExtractSupportFiles' C++ custom action calls GetTempPath() and
extracts all our support files to a subfolder. At this point (because
of terminal services) the installer is running under session 1, so the
path re
Yeah.WcaGetPropertyString, looks up the Property name passed in and
gets a value. You can't pass in "Please, resolve this [Property] for me" and
get back "Please, resolve this PropertyValue for me". You'd have to process
the SQL Script looking for [Property] strings and update them.
To fu
That sounds like a bug. If you had a Verb under an advertised Extension then
the Verb table should have been populated. If you have a small repro of this,
it would be fantastic if you could open a bug.
From: Michal Malka
Sent: Tuesday, May 06, 2008 09:58
To: Blair Murri; Bob Arnson
Cc: Rob Men
Heh, what's the scenario for that? It is rather unusual to write stuff to the
machine while uninstalling.
The Windows Installer doesn't provide native support for it, but I know someone
is writing a Custom Action to do this (to fix some TypeLib bugs) but I don't
know if/when that work will be
Thanks for the heads up Shawn.
I have just completed writing my C++ custom action although I am a .Net coder.
:)
I am using the Win API function GetTempPath() in my C++ CA to refer to the
%TEMP% directory and back in my WIX file, I am calling my support files as
[TempFolder]support.exe.
So wi
Why is it that SQLScripts don't use property replacement, but SQLStrings do?
It's a real hassle to break large DB deployment into dozens of smaller SQL
string elements, when the sql script action should be able to do everything
I need.
Am I missing some technical limitation that makes it difficul
We use a similar approach of storing support files in a Binary table and
extracting them to %TEMP% during a custom action. However one thing we
ran into was that during the custom actions that wanted to use these
files, %TEMP% was not the same as where we extracted them to. This was
due to each m
Thanks - it was really solved when I added the Verb table (manually to the msi
file).
The problem is that it didn't add the table when I added the following line to
the wxs file:
Is there some reason that sequencing the custom actions appropriately doesn't
solve this problem? Run the install custom action deferred after the files are
installed, and at uninstall time before they are removed.
Phil Wilson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kira
I have a feature in my product which needs to be installed only if VS 2005 is
present.
I have done this by adding a condition element to Feature Element.
Where VSDEVENVPATH is property set to devenv path by registry search.
Well this works fine for Installation (meani
Just allow it to be set on a higher level, like componentGroup
On Tue, May 6, 2008 at 4:28 AM, Rob Hamflett <[EMAIL PROTECTED]> wrote:
> I'd vote for on by default. In our installers, the files that aren't
> vital could still cause
> problems overall if they weren't present. For example, the
Ben Greene wrote:
>
>
> This doesn’t seem to work though. When I run it either nothing happens,
> or I get a dialog telling me about the command-line switches msiexec
> accepts.
>
>
>
You can't run an msi from within an msi, so what you're attempting isn't
going to work.
You have two opt
Thanks Rob, that worked.
Eric
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, May 05, 2008 9:53 PM
To: Eric Latendresse; wix-users@lists.sourceforge.net
Subject: RE: Failed to drop sql database
What I usually do is build the "fixed MSI" then do a recache-reinstall
(msiexec
Hi Guys,
I am using Wix to write my MSIs.
I need to update a registry entry while uninstalling my application,
does anybody know how this could be done.
Thanks
Nixu
-
This SF.net email is sponsored by the 2008 JavaOne(SM) C
I'd vote for on by default. In our installers, the files that aren't vital
could still cause
problems overall if they weren't present. For example, the help docs aren't
vital because the
product doesn't need them to work, but it would be very annoying for the user
if they can't find
them wh
Hi,
We want to ensure that a Windows Service is started correctly after a
successful installation by rebooting the machine since we've had occasional
problems starting it directly from the msi. After the reboot the installation
resumes with starting the installation procedures - such as stop
Have you tried configuring the Upgrade table to include the current version
number? I think in this
case you need to schedule RemoveExistingProducts before the new install.
Rob
Colin Bleckner wrote:
> Hrm, something like that might worked. Just to make sure I understand
> what's going on, it
35 matches
Mail list logo