Thanks for the prompt reply Bob but if user has 'Oracle Instant Client' (which is nothing but a few dlls put in a folder in system path), it will be impossible to detect only using registry. And as you say searching all drives is a
no-no.I have decided to code a CustomAction dll which calls LoadLi
Wilson, Phil wrote:
> There's a vbscript WiGenXfm.vbs in the Windows Installer SDK.
took a look at this script. It compares 2 MSI installations. But i have
only 1 MSI file and want to create a transform which sets some
properties (INSTALLDIR, ALLUSERS, SERIAL etc...)
Alex
---
Marshall Cai (Comtech GEMS) wrote:
One issue
I’m
from which the extended group of MS HWSW. Currently, I’m doing a
research work on nested MSI with WIX. Do anyone know how to implement
that with WIX.
From
the link http://www.mail-archive.com/wix-devs@lists.sourceforge.net/msg004
Frank Tse wrote:
I
am wondering if setup should fail in the first place when it
cannot put the DLL in GAC. i.e. Netfx extension that puts DLL in GAC
should
fail when it cannot put DLL in GAC.
MSI installs assemblies to the GAC by handing it off to the Fusion
engine. Fusion undoubte
Peterson, Joel wrote:
I’m sure I already know the answer to some of
these
questions, but I must ask. Is there a repository of user-submitted WiX
UI
content? Are there any available templates of some of the more popular
dialogues that are used in MSI installers? Is there an unwri
Title: One issue
Hi All,
I’m from which the extended group of MS HWSW. Currently, I’m doing a research work on nested MSI with WIX. Do anyone know how to implement that with WIX.
From the link http://www.mail-archive.com/wix-devs@lists.sourceforge.net/msg00481.html, it seems no hope to do
Joel:
What types of dialogs do you need?
David Adams
MSN MessengerID: [EMAIL PROTECTED]
>
>Hi all.
>
>
>
>I'm sure I already know the answer to some of these questions, but I
>must ask. Is there a repository of user-submitted WiX UI content? Are
>there any available templates of some of the
Yes, I am aware of this problem, and I have been working some larger changes
that would make this problem go away among other things. I haven't made a
lot of progress lately however, so since it is being raised here I'll try to
get a fix in for this specific issue within the next week or so.
Fredr
Thanks all for the info.
I guess the problem for me is that if the a DLL cannot be gac’d
because of the same version, I would expect the setup to fail instead of finish
without error.
That is especially a problem to me because I also “ngen” the DLL in
the same element in WiX (see m
Hi all.
I’m sure I already know the answer to some of these
questions, but I must ask. Is there a repository of user-submitted WiX UI
content? Are there any available templates of some of the more popular
dialogues that are used in MSI installers? Is there an unwritten spec to adhere
to
OK, either my questions are getting easier
or I’m starting to get the hang of this. I figured out that I need to
escape the brackets and now it works fine.
My follow-up question is how do I check an
XML file to see if an element already exists?
If the appSettings element is already
th
Sigurd Stenersen wrote:
> And there is no way to delay CostFinalize to just before the featuretree
> dialog is displayed ?
>
No. Costing happens early in the UI sequence. MSI expects the UI to have
that information.
> It IS possible to customize it from the outside using the command line to
>
Mike Dimmick wrote:
I'd take a guess that
PowerShell is somehow messing up the parsing of the : and giving the
two arguments "-cultures" "en-us", and that light's command-line parser
then interprets "en-us" as being a source file for it to process. It
then fails because it can't fin
John Ludlow wrote:
>>> I ported your code to C++ and it does indeed work.
>>>
>>> That is, it hides features. It doesn't seem to work for features
>>> with "children", but I can live with that. Thanks a lot for
>>> sharing.
>>
>>
>> Hmmm, interesting. I assumed that this would work recursively b
Is this what you are looking for? Download and run dark against an
msi that has this functionality.
.
.
.
On 10/8/06, Alex Mendes da Costa <[EMAIL PROTECTED]> wrote:
> Thanks for suggesting th
I am trying to use the XmlFile element to modify the
MACHINE.CONFIG file. I need to add application settings for my app. I need to
add settings such that the config file ends up as follows:
First I create an “add” element. Next, I want
to set the element’s attribute
david adams wrote:
> Turned out to be one of those ID10T errors. I was installing a Windows
> Service whose function is to monitor a Microsoft Message Queue. It helps to
> name the MQ correctly lest your service will fail to start.
>
You should try the new "suppress ID10T" switch -- work wo
I ported your code to C++ and it does indeed work.That is, it hides features. It doesn't seem to work for features with
"children", but I can live with that. Thanks a lot for sharing.
Hmmm, interesting. I assumed that this would work recursively but obviously not. Maybe you need to do the re
John Ludlow wrote:
>> Another option is to use a custom action - that's what this vbscript
>> code does:
>>
>> Set installer = Session.Installer
>>
>> Set database = Session.Database
>>
>> Function SetFeatureVisible(feature, order)
[snip]
I ported your code to C++ and it does indeed work.
That is
We started out today by logging the file accesses and came up with
some odd results that we're not sure what to make of... If you interpret
the "good" log file, you see that three different msiexec processes
access the file one after the other. However, the "bad" log file shows
that one of the proc
Bob Arnson wrote:
> Sigurd Stenersen wrote:
>> Is it at all possible to modify the number of features in the
>> feature tree, from a DLL or using some sort of action ?
>>
>> I'm able to set the state of features, but I would like to present
>> users with different trees depending on selections made
My first thought would be to create a third feature, which the
user has to install, which then does the modification of machine.config.
Then, you could put your xml modification in a new component, which gets
installed with the ‘must install’ feature.
From:
[EMAIL PROTECTED]
[mail
There's a vbscript WiGenXfm.vbs in the Windows Installer SDK.
Phil Wilson
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Gnauck
Sent: Monday, October 09, 2006 1:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] create transforma
It is a PowerShell issue. I have do to the same
quoting when using NAnt when I want to pass a property on the command
line. Ex. Nant -D:property=value in cmd.exe has be typed in
PowerShell as Nant "-D:property=value". Thinking about it, it may have to
do with how it parses the command li
WIX Version: 2.0.4415.0
My installer will install two different products (companion
products). While the user would normally install one on one machine and
the other on another machine, they could install both on the same
machine. I need to modify the MACHINE.CONFIG regardless of whic
Heat.exe is your new friend.
The WiX Tutorial is still v2, but with enough v2 experience and some
reading through the WiX Users mailing list, v3 is very easy to pick up.
Joel Peterson
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tor
What is the equivalent tool of tallow in Wix v3 and how do I extract
registry entry from COM components? Maybe there is a new way of
installing COM components I should know? So many questions and so less
answers. Where can I find a documentation about WiX v3? The tutorial I
have describes only
I might be missing the point but don't you just include this:
You will also need to build it with 'wixui.wixlib -loc WixUI_en-us.wxl'
on the light command line.
Neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Mendes da Costa
Sent: 09 Octo
Bob's suggestion is one way. You could, for example have a dialog box with a checkbox for each feature, and show/hide them as you like based on a .
Another option is to use a custom action - that's what this _vbscript_ code does:
Set installer = Session.Installer
Set database = Session.Database
Thanks allot!
I'm not warring about size of the package. I have another case.
The runtime part of our software can be shipped as a stand alone MSI or
as a merge module. And the point is that this two edditions (MSI & MSM)
are incompatible. Standalone runtime can not be installed on the
computer
The closest that I get is setting existing features in the tree to
"unselected" (Do not install) based upon User interaction in previous
dialogs. The feature list is static, but the items selected by default on
the Customize dialog are controlled by the prior interaction.
I'm not sure that wou
Hey, worked a treat, thanks.
Bob Arnson-3 wrote:
>
> gcoates wrote:
>> I can't see a way to initialize the property behind the text box to the
>> local computer name either as CustomActions seem to run after the UI has
>> been displayed.
>>
> You can schedule a custom action to run early in
Thanks for the advice Bob.
Turned out to be one of those ID10T errors. I was installing a Windows
Service whose function is to monitor a Microsoft Message Queue. It helps to
name the MQ correctly lest your service will fail to start.
David Adams
MSN MessengerID: [EMAIL PROTECTED]
>From:
If you knew the UpgradeCode of an existing product, you could find it
using the FindRelatedProducts action. Use the element and
specify OnlyDetect="yes" on the element if you only
want to know if the product is installed rather than actually removing
it. A ProductCode refers only to one specific
I'd take a guess that PowerShell is somehow messing up the
parsing of the : and giving the two arguments "-cultures" "en-us", and that
light's command-line parser then interprets "en-us" as being a source file for
it to process. It then fails because it can't find the file.
This parameter i
I assume this is a reply to my question called "COM+ components not in
Component Services".
I did a rebuild of Wix 4415 with shortened versions of the 4 names
that were too long and now the COM+ apps appear as I would expect.
The strange thing is that the old versions of the merge modules built
w
Jeff MacDuff wrote:
So if we
make the MSI install for all
users.. we should be able to create a new run key entry without hitting
the
redirection problems?
AFAIK, redirection is used only when a non-elevated user tries to write
to system locations. That said, I'm not a
Sigurd Stenersen wrote:
> Is it at all possible to modify the number of features in the feature tree,
> from a DLL or using some sort of action ?
>
> I'm able to set the state of features, but I would like to present users
> with different trees depending on selections made in a previous dialog.
Thomas Krebs wrote:
> I've read through some of the localization threads but I have
> the impression that localization is (only?) understood as a static
> process, that means that I can create different MSIs each having a
> different language GUI.
>
That's right.
> I would like to have ONE MSI
William Jones wrote:
> I came up with a solution, but I'm not sure it's the right one. I
> generate a new product code on every build (so every build looks like
> a major upgrade). I detect when I'm doing a week-to-week upgrade and
> sequence the RemoveExistingProducts action for that case, as
Andy Britcliffe wrote:
> And have built my MSI and installed it and all seemed to go well.
> However when I run the SET command from the console I don't see my env
> variable listed there. Is there something I am missing?
Did you restart your console? MSI sends the appropriate message to
signal
gcoates wrote:
> I can't see a way to initialize the property behind the text box to the
> local computer name either as CustomActions seem to run after the UI has
> been displayed.
>
You can schedule a custom action to run early in the UI sequence using
the InstallUISequence element.
--
sig:
Suraj Barkale wrote:
> I want to know if I can search for a file in system path.
You can use FileSearch to find a particular file with a version range
but it doesn't support searching just the path. The alternative is to
search a tree, such as ProgramFilesFolder, but that won't find
directories
Peter G. Sakhno wrote:
> How to find if a product is already installed if it's Product Id is
> known? Should be implemented some DLL/EXE-based CA or there are any
> "standard" MSI commands available?
>
> The same about merge module. I want to find out if any copy of
> particular MSM (defined by
Alexander Gnauck wrote:
> which means I need a very simple solution to create transformations
> without Orca.
>
Derek wrote the beginnings of transformation support in the Torch tool.
It's designed to create a transform between two MSI packages or from a
.wixout you can create with Dark. At t
Alex Mendes da Costa wrote:
> My package is not language-neutral. ProductLanguage is set in my MSI
> to 1033.However, the dialog box lacks strings unless I explicitly
> add the appropriate entries to the error table.
>
What do you have Package/@Languages set to?
--
sig://boB
http://bobs.
Christer Solskogen wrote:
It seems like wix dont like to be run from PowerShell/Monad.
I had to run it with:
D:\bin\wix\light.exe -ext WixUIExtension "-cultures:en-us"
HelloWorld.wixobj
Can you post
a bug? I'm not sure if we can do anything to make PowerShell happy
but if we can, we s
Thanks, it works OK now. I needed to do some minor changes to the
source for test purposes.
On 09/10/06, Mike Dimmick <[EMAIL PROTECTED]> wrote:
> The private key is not distributed with WiX sources and so the
> executables are delay-signed. This attaches the public key token and
> reserves space
So if we make the MSI install for all
users.. we should be able to create a new run key entry without hitting the
redirection problems?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Friday, October 06, 2006
7:49 PM
To: Jeff MacDuff
Cc:
wix-users
Hi,
I've read through some of the localization threads but I have
the impression that localization is (only?) understood as a static
process, that means that I can create different MSIs each having a
different language GUI.
I would like to have ONE MSI with different languages where the
installati
Hi RobThanks for that.I've droppped the following in my installer Name='TestEnv' Value='Test' Action='' System='yes'/> And have built my MSI and installed it and all seemed to go well. However when I run the SET c
If the property doesnt exist in the first place, the checkbox is set to
unchecked.
If you check the checkbox, the property is actually created by MSI.
I think the checkbox value is linked to the existence or non existence of
the property.
fregate wrote:
>
> Thanks for aswer. It works.
>
> And
[I posted this on microsoft.public.platformsdk.msi last week, but didn't get
any bites. Maybe wix-users will have some advice.]
I'd like to get some advice from the MSI gurus. I'm using WiX, but my
question is really about the best way to [ab]use the MSI engine.
I'm trying to migrate an ins
Hello,
It seems I have found a bug in Tallow.exe. When it comes to generating multi
string attributes I get something like this:
Original ATL registry script is:
ldapcom.LDAPTypeValue = s 'LDAPTypeValue Class'
{
CLSID = s '{9C072A86-626E-4796-A5CF-40129EBE28FD}'
CurVer = s 'lda
That looks like it might be a tricky thing to do. Try:
Tallow probably should generate something similar when faced with an
empty REG_MULTI_SZ value. What's generated at present is definitely
wrong. I've tested this when the key is not already present but haven't
tested what happens if it is.
O
Is it at all possible to modify the number of features in the feature tree,
from a DLL or using some sort of action ?
I'm able to set the state of features, but I would like to present users
with different trees depending on selections made in a previous dialog.
Functionally, this is similar to
The private key is not distributed with WiX sources and so the
executables are delay-signed. This attaches the public key token and
reserves space for the signature, but doesn't actually do the hashing
and signing, so the executables fail verification.
You can exclude the executables from strong-n
I set up a Virtual PC to build Wix 2.0.4415.0. It builds and runs with
no problems.
However, when I copy the executables to my development machine, I get
the following error:
C:\Program Files\Wix>candle
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y 'candle,
How to find if a product is already installed if it's Product Id is
known? Should be implemented some DLL/EXE-based CA or there are any
"standard" MSI commands available?
The same about merge module. I want to find out if any copy of
particular MSM (defined by its GUID) is installed, regardless
My package is not language-neutral. ProductLanguage is set in my MSI
to 1033.However, the dialog box lacks strings unless I explicitly
add the appropriate entries to the error table.
On 10/8/06, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Alex Mendes da Costa wrote:
> > http://msdn.microsoft.com/
It sounded very difficult to try to
upgrade wxs files from v2 to v3. In my WXS files, I have registry element,
database, xml file, virtual directory, file, directory, service.
Please advice.
Hesheng Bao
From: Mike Dimmick
[mailto:[EMAIL PROTECTED]
Sent: Monday, October
The localizations have been moved into the .wixlib embedded in
WixUIExtension.dll. If you want to use the standard localizations,
specify -cultures:xx-xx on the light.exe command line, instead of -loc,
where xx-xx is the language you want to use, for example en-US.
--
Mike Dimmick
-Original
I am switched to WiX v3 and now I can not find any localization files.
Where do I have to look or there are important changes? If anything was
changed how do I have to do localization now?
-
Take Surveys. Earn Cash. Influenc
WixCop gives you everything that was wrong. To make it fix
the file, specify the -f switch. You'll still get all the error and warning
messages, but it will now attempt to convert the schema.
Note that there are some places where a WixCop-converted
file still won't compile with v3, such as
I tried Wixcop on a very simple WXS file
and produced a lot of error and warning messages.
What’s the correct command line
syntax?
Thanks,
Hesheng Bao
From: Cullen Waters
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 06, 2006
6:17 PM
To: Bao, Hesheng; wix-users@lists.
On 09.10.2006 11:39, Frederik Carlier wrote:
> Hi all,
>
> With version 3.0.2128.0 WiX saw some new features, most importantly the
> improved version of Votive and Derek's last work.
> It seems most people are quite succesful with this version of WiX and
> I've seen quite some reports of closed
Hi,
Does anyone know how I can set a dialog textbox value to the local computer
name.
I try to set its value to [ComputerName] but that doesnt seem to work.
It always sets the value to that of the property behind.
I can't see a way to initialize the property behind the text box to the
local com
Title: What is your experience with version 3.0.2128.0?
Hi all,
With version 3.0.2128.0 WiX saw some new features, most importantly the improved version of Votive and Derek's last work.
It seems most people are quite succesful with this version of WiX and I've seen quite some reports of clos
I too have seen this problem with COM+ in merge modules.
The problem seems to be with names of actions which become too long when
the module guid is attached to it.
If you use orca to validate it will come up with 4 such errors, off the
top of my head I cannot remember which 4 they are, but the w
Hello,
Sorry if this question is off-topic and not WIX related.
our applications normally run in high security environments where the
admins are not allowed to install any software which is not certified by
the main data center. Also some of our customers don't have a own admin
which means I n
I want to know if I can search for a file in system path.I am trying to detect if Oracle is installed on a system. With all the
different Oracle installation types out there, only surefire way seems
to try & load OCI.dll and hope that Oracle is installed correctly
if it loads without error.One solu
Christer Solskogen <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Anyone with a hint of what I'm missing here?
>
Aha!
It seems like wix dont like to be run from PowerShell/Monad.
I had to run it with:
D:\bin\wix\light.exe -ext WixUIExtension "-cultures:en-us"
HelloWorld.wixobj
--
"Tobias Bengtsson" <[EMAIL PROTECTED]> writes:
> I have a problem, I need to specify the same Registry value, but the
> value has to be different in the separate Features, this - however,
> generates a error when trying to compile the project.
You could set Registry/@Value="[property]" and then c
73 matches
Mail list logo