I knew that would happen. Solved it just after posting...
It looks like for an uninstall action, the @ElementPath points to the
parent node, while the @VerifyPath is relative to the @ElementPath.
So this works:
Cheers,
Andre
From: [EM
Hi all,
Has anyone successfully used util:XmlConfig to modify an XML file on
uninstall?
Adding nodes is working, but removing them on uninstall is still beyond
me. Even with the VerifyPath attribute set, I'm still having no joy.
The below component successfully adds a tag to a web.conf
I have a .NET assembly that we've built for use by our customers. We
have just added a bunch of sample projects using our assembly that can
be also be installed. I'm unclear on where to install these samples. I
thought of putting them under "[PersonalFolder]\RMCLink Samples", but
the negatives soon
DEVAL SHAH wrote:
> What should I do? Is there someother way to register my dll.
>
Tallow creates output that you need to edit to match your build
environment (e.g., using environment variables or relative paths).
--
sig://boB
http://bobs.org
--
Robert Randall wrote:
> Does this mean that DIFx and Wix just do not work in v3?
>
The DIFx .wixlib is only supplied in a v2 .wixlib. There's a bug open
that v3 should be able to read v2 .wixlibs but it's not clear
how/when/if that will be supported. (WiX v3 made some major changes in
how in
sandy wrote:
> All the properties are set correctly I can see their correct value in the log
> but it doesn't copy the file from source to destination neither do I get any
> error.
>
Check a verbose log for the DuplicateFiles action -- that's the standard
action and table that the CopyFile e
Alec Siu wrote:
Is there a way to check if you're a member of a domain from within
WiX? I thought of using a Condition which references the USERDOMAIN
environment variable like this:
All users are in a "domain," even if it's just the individual machine.
You can t
[EMAIL PROTECTED] wrote:
I'm opting to use Merge modules instead of nested msi.
Can someone throw some light on how to send parameters /properties to
the included merge modules ?
Once merged, modules lose their independent identity. So there's no
concept, really, of passing parameters. What a
Nathan Lane wrote:
> Well, I think I might have figured out how to get around the problem,
> by having the directory already exist, but when I run the installer,
> the short name for the installation directory comes up under Custom
> instead of the Long name. For example if Name="VCP" and
> Lo
Does anybody have any insight on these 2 problems?
mmenaker wrote:
>
> I'm having 2 problems:
>
>
>
> 1. My web applications that I create don't delete the virtual dirs/apps
> from the Default Web Site section in IIS. The folders created are gone
> but you can see the app in the IIS.
>
>
Hello,
I have a dll which I install using regsvr32. Now I want to do that using
WiX.
I tried:
tallow -s mydll > a.wxs.
Now this generates a fragment which contains:
This path is constant. Now if I try to install this on some other machine
C:\YProj\mydll.dll does not exist. I tried to put a dir
Hi All,
Is there a way to check if you're a member of a domain from within WiX? I
thought of using a Condition which references the USERDOMAIN environment
variable like this:
But this doesn't seem to work... any ideas?
Cheers,
Alec
--
The class seems pretty social which is, I think, a good thing if school is as
stressful as they say. Still, gotta work harder at budgeting my time. A puddle
of preservative chemicals pooled around her face, and I felt guilty. But I
guess if everyone's behind, no one's behind.
The first hour was
I like to set the installation directory and ALLUSERS differently when
Privileged property is 1 or 0. I tried a few examples without success. Could
anybody give some examples on this?
Thanks!
Ming
-
This SF.net email is spo
Hi all,
I need to install a certificate after the installation of the main
binary. The code snippet below does not work because it cannot find
[INSTALLDIR]MyCert.cer (see bold fragment). However if I change the bold
fragment with a path to the initial location of the certificate file, it
succ
Automatically generating WiX scripts is not recommended due to the strong
likelihood of breaking component rules. If you're careful to ensure that
component GUIDs and component contents are stable across versions - for
which you'll need to parse the original WiX file, find the differences and
gener
Windows Installer installs products in units of components - they are the
building blocks of the installation. It installs a component if it believes
that the component is not up to date or is missing, which it determines from
the component's key path. It stores a list of all the components which a
Light is giving me an error that is making me sad:
\msft\DIFxApp\English-US\WiXLib\x86\DIFxApp.wixlib : error LGHT0141 : The
library file format v
ersion 2.0.2207.0 is not compatible with the expected library file format
version 3.0.2002.0.
NMAKE : fatal error U1077: '"..\tools\wix3-binaries\ligh
Hi!
I'm using Wix 3 and I'm trying to harvest a website using heat, but I
don't know how to... then I tried to harvest the directory but it gives me a
component for each file. Can I get 1 component per directory containing all
the files contained in a directory? how do I can get it?
Thanks in
I think I just learned something about . The Depth
attribute means something different when there is a child
element.
If there is no child element, the Depth attribute means
"the number of levels below the parent to look for
@Path."
If there is a child element, the Depth attribute means
"the
Matt Anderson andrsn.net> writes:
> I tried using REINSTALLMODE, but it appears that it aborts the installation
> (because it's not an upgrade of a previous install?).
The installation does not abort. It just says that the installation was
sucessfull, but it in fact did nothing. No errors we
Is there a way to ensure that a file on the target machine will get
overwritten regardless of versioning rules (the files don't have versions nor
am I in a position to ensure they do)? I have three installers: the third
installer will overwrite some files of the first two and add other files.
On 4/18/07, Neil Sleightholm <[EMAIL PROTECTED]> wrote:
You could just modify the appropriate registry key and mark it to left on
uninstall.
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state
Value: Start
Change the value data from 3 to 2.
I suspect this is somet
You could just modify the appropriate registry key and mark it to left
on uninstall.
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state
Value: Start
Change the value data from 3 to 2.
I suspect this is something that is frowned upon but that is what I
would do.
The CA is sequence 6701 (post GAC update).
The DLL is using DIFxAPI and the dependency is the difxapi.dll.
I'll attempt a work-a-round by using the standard DIFx support and adjusting
my strategy a bit. I'm installing drivers for virtual devices so I have to
use the SetupAPI to create the device
I've an upgrade scenario where I'm copying one file from the version 1 to
version 2.
Product gets installed in the PROGRAMFILES\Product\VersionNo folder so both of
the version will have different directories and I'm copying the config file
from product\V1 to Product\V2
for that I created a wxs
Hmm. Can you quickly try the latest WiX v2 release:
http://wix.sourceforge.net/releases/2.0.5213.0/. That should quickly tell us
if there is still a problem.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta
Sent: Wednesday, April 18, 2007 10:24 AM
To: wix-users@l
I've looked back and seen that there's some history to this problem.
I'm wondering if a solution has been found and implemented. I'm using
wix version 2.0.4820.0 and now encountering this problem 100% of the
time in the last 2 builds during silent installs only.
--
I'm guessing you're expecting to see the key show up for other users
because it's a keypath, right? If so, you won't see that key when you
log on as the other user, only when you do something that causes the
install-on-demand to take place (is the keypath in a feature in which
there is a shortcut?)
Yeah, this scenario doesn't work well at all. The ideal is that your
CustomActions have as few dependencies on the system as possible. My
suggestion is always that CustomActions should only depend on stuff that ships
with lowest OS you support "out of the box".
Typically, this means sharing c
Robert,
Where is the custom action called from - where is it scheduled? Is it
deferred?
- Brett
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Robert Randall
> Sent: Wednesday, April 18, 2007 9:40 AM
> To: wix-users@lists.sourceforge.net
> Su
Are you sure you're using the Norwegian localization file during your final
link? (Are you saying some text is localized and some isn't?)
Rennie
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Bjørnsen
Sent: 18. april 2
Thomas Bjørnsen wrote:
> Me again :P got some more questions regarding WIX I can't quite figure out.
>
>
> If I set the Language/Languages properties of the Product/Package tags
> to say 1044 for Norwegian, should not error-messages be shown in
> Norwegian then?
The language settings just refe
> I have a property:
>
>
> Then I use this property value in the element
> Action='write' Type='string'/>
> It will create HKCU\Software\MyProductName. So far Ok.
>
> However if I try doing the same with element, it
> fails to work
>
> LongName in this case will be [Product], not MyProductN
Yes I am using Wix 2.0 I will check out 3.0/Votive to see if it's any easier
there and if it doesn't break what I already have. I have little experience
with MSBuild so the whole scriptingpart made little sense to me to be
honest.
-Thomas
On 4/18/07, Michael Collins <[EMAIL PROTECTED]> wrote:
Me again :P got some more questions regarding WIX I can't quite figure out.
If I set the Language/Languages properties of the Product/Package tags to
say 1044 for Norwegian, should not error-messages be shown in Norwegian
then?
I checked out WixUI_en-us.wxl and WixUI_no-no.wxl, why do they only
> -Original Message-
> From: Bob Arnson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 10:51 PM
>
> Lorne Laliberte wrote:
> > ...but the "any other property representing a full path"
> > part doesn't seem to hold true.
>
> Seems wrong -- the MSI doc is the definitive answer
I have a CustomAction DLL that was working just fine. However, I recently
updated it and it now depends on another DLL. That DLL isn't a typical
system DLL and is not already on the system. I can't seem to figure out
WHERE to put the DLL so that it is available when the CustomAction is
invoked.
Sorry...my bad. It looks like you're using WiX 2.0. WiX
3.0/Votive is now producing MSBuild-based project files, which is how my script
below works.
It's been a while since I've used WiX 2.0. One option would be to create a
custom MSBuild script and include the bootstrapper
is my whole wixproj file, I don't seem to have the "Wix.targets" anywhere.
Installer.wxs is the main Wix file with the product, errormessages, actions
etc. Files.wxs is project spesific file
Hi all,
I have a property:
Then I use this property value in the element
It will create HKCU\Software\MyProductName. So far Ok.
However if I try doing the same with element, it fails to work
LongName in this case will be [Product], not MyProductName
Why the property is not substituted with
Well, I think I might have figured out how to get around the problem, by
having the directory already exist, but when I run the installer, the short
name for the installation directory comes up under Custom instead of the
Long name. For example if Name="VCP" and LongName="Vehix Consumer Portal",
Hi
I'm new to WIX.
I'm opting to use Merge modules instead of nested msi.
Can someone throw some light on how to send parameters /properties to
the included merge modules ?
Thanks in Advance.
-Lav Kumar Gupta
-
This SF.ne
Hi,
Following is quoted from WIX Tutorial.
I wish to know what is the purpose of that Guid.
Besides that, can WIX search for that GUID before installing a program to
make sure that program has not been installed previously ? ( Note : in my
case, the product GUID can be same but n
Damitha Bogahawatta wrote:
>
> Hi,
>
> I am trying to set a registry key in HKCU area and have that registry key
> applied to
> all users on the PC and new accounts created on the PC. I have created a
> component with
> the registry key and set the KeyPath='yes', but it only applies to the
45 matches
Mail list logo