perhaps this helps: http://wix.sourceforge.net/manual-wix2/preprocessor.htm
to define $(var.myValue) simply write
-Original Message-
From: Bill McCormick (LIST) [mailto:wpmccorm...@ace-co.com]
Sent: Montag, 29. März 2010 19:01
To: WiX
Subject: [WiX-users] how to set var's
I've used he
Thank you for this explanation.
To make the solution easier to find for others possibly having the same
problem, here is what to do:
HEAT.exe file my.ocx -out my.wxs
That will create a file my.wxs containing the necessary WiX commands to
register the OCX. Compile it and then link it with the r
If you can have the end-user customize the config file *before*
installing, you can create an MSI transform and install the modified
config file. Our customers need to customize a default config before
deploying across the network (desktop software) and so we use the
method I've described over at
h
Phil Wilson, i couldn't get your point. can you explain it in detail.
Thanks
Sagar Kavitake
--
View this message in context:
http://n2.nabble.com/Get-Current-User-s-Credentials-in-custom-action-tp4818201p4822819.html
Sent from the wix-users mailing list archive at Nabble.com.
-
I was using the -pog switch.
Thanks,
Bill
On Mon, Mar 29, 2010 at 7:07 PM, Bob Arnson wrote:
> On 3/29/2010 3:56 PM, Neil Sleightholm wrote:
> > I am afraid that is how heat works, it only finds the primary output and
> > no referenced assemblies. If you want the referenced assemblies then you
- Original message -
From: "Curtis Jewell"
To: "General discussion for Windows Installer XML toolset."
Date: Mon, 29 Mar 2010 19:15:11 -0600
Subject: Re: [WiX-users] Save and reuse previous InstallDir
OK. Let's make sure I'm doing part 2 right.
I'll deal with HKLM/HKCU issues, and pa
Hi Folks,
I am trying to configure MS DTC by modifying the registry entries.
As following:
But when I uninstall the product it removes all t
Just a general question: what does Repair do?
I know "Repairs errors in the most recent installation by fixing missing and
corrupt files, shortcuts, and registry entries". But odd something happened.
We have a product which uses Wix 2.0. The product is a plugin for Microsoft
Outlook.
If we
Hi,
How to overwrite forcibly a file which ignore file version and timestamp?
The file version etc. seem to be checked though it sets as follows.
Thanks,
--
Download Intel® Parallel Studio Eval
Try th
Thanks Chad.
Actually I tried that, but I got some errors:
Microsoft (R) Windows Installer Xml Tool version 2.0.5325.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.
Failed to SelfReg: adxloader.dll
System.Reflection.TargetInvocationException: Exception has been thrown by the
On 3/29/2010 3:15 AM, Rohit Sharma (SIDC) wrote:
> Remove control event does not HIDE the feature. It just puts a red-cross
> in front of the feature and provides user an option to enable it. (Refer
>
Yes, that's true. Like I said, you seem to be wanting features that the
selection tree contr
On 3/29/2010 3:56 PM, Neil Sleightholm wrote:
> I am afraid that is how heat works, it only finds the primary output and
> no referenced assemblies. If you want the referenced assemblies then you
> have to heat those projects or files independently.
>
Or use the -pog switch, right?
--
sig://
On 3/29/2010 11:34 AM, Jeff Yates wrote:
> I had wix 3.0 installed and built four wix projects in vs 2008 sp1; 1
> library and 3 installers referencing that wixlib. I compiled alll with
> pedantic warning level. Everything worked. Now, I have installed the beta of
> 3.5 and the installers fail to b
On 3/29/2010 12:52 AM, si wrote:
> So it appears light is doing something funky based on the .h file
> extension. Is there any way to avoid this?
>
WiX includes .h files and they work. Anything else odd?
--
sig://boB
http://joyofsetup.com/
--
On 3/28/2010 1:40 PM, Vishwajit Walke wrote:
> Event="Newdialog" Value="SharepointVersion">1
>
...
> Note : The error description for the code 2812 is "The event[2] is not
> recognized" in the Windows Installer Error Message Table.
>
Events are case-sensitive. You have a typo.
--
> Greetings,
>
> After running heat to harvest the output generated by RoboHelp, I ran
> into an odd error when compiling where the file exists in the file
> system at the specified location, but light.exe seems to think it
> doesn't. All the other 800+ harvested files are working fine.
>
> Error
Heat will take EVERYTHING in the directory you specify. It should pick up on
the COM DLLs just fine.
Brian Rogers
"Intelligence removes complexity." - Me
http://blogs.msdn.com/icumove
On Mon, Mar 29, 2010 at 1:20 PM, Bill McCormick (LIST) <
wpmccorm...@ace-co.com> wrote:
> Neil. Thanks so much
I'm a pretty long-standing user of InstallShield, but I wanted to see what WiX
had to offer, so I downloaded it and began creating my first install this week
using Votive in Visual Studio 2010. Unfortunately, it looks like what I thought
was going to be a very simple install has turned out to be
Look at the Tallow.exe utility. I think Tallow -s might be a
first step to try.
Chad
-Original Message-
From: little.forest [mailto:little.for...@ymail.com]
Sent: Monday, March 29, 2010 2:28 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix 2.0: i
1 a) You'd do a component search for a component guid that is in the same
directory.
1 b) The app might write that info somewhere in the registry.
2. You don't need to. If you’re upgrading then you condition the (type 51?)
custom action that sets the install directory based on whether you found
That's the kind of thing that works if you know that the implementation will
never change (that may be pretty safe because it's documented), that you won't
confuse per-user and per-machine installs, and if you make sure that
FindRelatedProducts is before AppSearch (which it isn't in some of the
Thanks Bob.
That dll is provided by a 3rd party company. We don't know how it's
implemented. But I guess something isn't quite right with the DLL. We'll try to
talk to the dll provider to understand the detail.
The dll can be registered correctly by using regsvr32.exe. So after using
regsvr32
(I'm not the original questioner, but I DO have questions that apply to
this.)
1) What do I do when I want to default to a specific directory if
ARPINSTALLLOCATION wasn't written by the original MSI?
2) How do I block that RegistrySearch from occuring when I'm not
upgrading?
--Curtis Jewell
On
Neil. Thanks so much for the reply. I was beginning to think that maybe
I need to change body soap 'cause no one wanted to talk to me :'(
Will heat do the right thing if I just use the dir switch on a directory
that contains all the files that I want to install? Some may be COM (DLL
or OCX).
T
ARPINSTALLLOCATION is stored in the resitry, so you can do something like this:
...
-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com]
Sent: Monday, March 29, 2010 14:53
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Save
I am afraid that is how heat works, it only finds the primary output and
no referenced assemblies. If you want the referenced assemblies then you
have to heat those projects or files independently.
Personally I think this is major limitation of heat and makes the new
Harvest feature in WiX v3.5's
The good thing about ARPINSTALLLOCATION is that you anybody can call
MsiGetProductInfo (,.INSTALLPROPERTY_INSTALLLOCATION..) or equivalent to
get the location.
The bad thing about ARPINSTALLLOCATION is that you have to call
MsiGetProductInfo (,.INSTALLPROPERTY_INSTALLLOCATION..) or equi
Hi Pally
Thank you for your help. I have this now in my wix-script and the
InstallLocation will be set in the registry. But I don't know, what I have to
do, that it will be reused when I do an update.
Can you help me about this one more time? - Thanks.
Thomas
-Ursprüngliche Nachricht-
Regarding those errors, you can ignore them. In fact, feel free to file a bug
so we can make those errors appear less scary, because they aren't really of
concern, it just means Wow64 API's aren't available on your OS.
Regarding the custom action, do you really need one? Can you rely on standard
You add the wxs in to the call to candle which compiles the wixobj file.
Then include the wixobj in the call to light.
For Votive, you should be able to set this in the 'Additional parameters'
section of the 'Tool Settings' page of the WiX project.
--
View this message in context:
http://n2.na
There are some edge cases too which may not work. If you're on a UAC system and
a non-privileged user starts the install and an administrator enters some "over
the shoulder" administrator credentials I'm not sure what you'd see in a C#
custom action with WindowsIdentity.
Phil Wilson
-Ori
If I have a lot of custom action work going on and I mean a lot. Is it better
to have a few custom actions that encompass most of the work, obviously this
can be split into multiple functions within the custom action or have a ton of
separate custom actions?
I'm trying to weigh the pros and co
I've used heat to generate a number of wxs files that contain Fragments
for different features I'd like to have installed. In following various
examples the Source property ends up taking the form
Source="$(var.foo)\bar.ext". I had assumed that, at some point, I would
learn how to set these var
I agree it sounds bizarre. Here is a short explanation:
The installer puts some temp files under X:\Program Files, runs some code to
modify a Java-based system, and generates some log under it. What's installed
are purely temporary and will never be used after installation.
The requirements ar
First question would be "Why?"
You could do something like that by engineering a rollback right at the
end of the installation but you're trying to do something so bizarre
I've no idea where you'd even begin. I guess you could have a Custom
Action at the end which intentionally fails to start the
Yes you have to modify the Directory identifiers in the Fragment
generated by heat in your example. You don't need to use the Fragment
Element if you don't want to, you can copy the code into your Directory
tree if you wish. Personally I only use 1 Product/Fragment per file to
separate my WiX proje
Hi,
At the end of my install I want to make it uninstall everything from
INSTALLLOCATION, remove ARP registration, and leave nothing behind.
The attached code shows my attempt to use to set "REMOVE=ALL". I
saw in the msiexec log that the property got set but it didn't cause uninstall
I as hop
There is registration information but I didn't include the registration
information portion in the posting because it didn't seem like the values
themselves were the issue - it was getting them written to the registry.
If it helps, here is the entire fragment section which was generated from
heat:
What Alex means is you can set the ARPINSTALLLOCATION property
(http://msdn.microsoft.com/en-us/library/aa367589.aspx) to do that for
you using a type 51 custom action. The following code should work for
you Thomas:
That will (should) set the "InstallLocation" value under
H
I'm trying to understand how to use the project switch with heat. I made
a test project whose binary output includes a Windows form application
and a DLL class library. When I build the Test project I have a Test.exe
and a ClassLibrary1.dll in the bin directory. I then run heat like this:
$ hea
ARPINSTALLLOCATION.
-Original Message-
From: Thomas Kehl [mailto:t.k...@ppsoftware.ch]
Sent: Monday, March 29, 2010 10:45
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Save and reuse previous InstallDir
Hi.
What does I have to do, that my installer savest he InstallDir which
Thanks Nick. That's quite helpful.
Does anyone have an explanation of the characters outside of the begin/end
portion of the visible mask? Are these pre-pended/appended automatically?
Thanks,
Craig
On Mon, Mar 29, 2010 at 6:24 AM, Nick Ramirez wrote:
>
> I've experimented with this and have
Hi.
What does I have to do, that my installer savest he InstallDir which the user
has browse and installed to and reuse it for an update?
Thank you.
Thomas
--
Download Intel® Parallel Studio Eval
Try the new software t
Hi.
There was the problem (Mapping of INSTALLDIR). I have solved it now.
Thomas
-Ursprüngliche Nachricht-
Von: Pally Sandher [mailto:pally.sand...@iesve.com]
Gesendet: Montag, 29. März 2010 17:00
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Problem
I had wix 3.0 installed and built four wix projects in vs 2008 sp1; 1
library and 3 installers referencing that wixlib. I compiled alll with
pedantic warning level. Everything worked. Now, I have installed the beta of
3.5 and the installers fail to build, citing error cndl0099 in the
autogenerated
For username you could try passing the USERNAME or LogonUser property to
your custom action
(http://msdn.microsoft.com/en-us/library/aa372385.aspx &
http://msdn.microsoft.com/en-us/library/aa369780.aspx). That may also
give you the domain but as the MSDN pages don't tell you what the format
of thos
On Mon, 29 Mar 2010 16:15:02 +0200, Markus Karg wrote:
Markus,
> That page does not contain the word "OCX", so what do you like to tell me?
But it does mention the word "file" and OCX (a DLL, actually) is a file type
that Heat can harvest. So just follow the description of how to extract
infor
Can you paste the section of your Directory tree where you reference
INSTALLDIR? The UI sections appear to be OK as they look the same as the WiX
ext sources so I don't think that's where the error is being caused. Since
WIXUI_INSTALLDIR is mapped to INSTALLDIR it's likely that's where the probl
Hi,
I have a managed C# custom action which access a webservice hosted on a
machine over a network.
Now in this managed custom action i am getting unauthorized access error
because anonymous access is disabled on iis of that machine.
What i want is to pass the current users credentials to this c
That page does not contain the word "OCX", so what do you like to tell me?
> -Original Message-
> From: Pally Sandher [mailto:pally.sand...@iesve.com]
> Sent: Montag, 29. März 2010 16:12
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Beginner's Ques
http://wix.sourceforge.net/manual-wix3/heat.htm
Palbinder Sandher
Software Deployment & IT Administrator
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.
SC15
Hi.
I am trying to show the InstallDirDlg with the fallowing sequence. But i get
always the Error 2343: Specified path is empty.
I have also tested with
where c:\temp exists. But it does not working.
Thanks for your help!
LOG:
MSI (c) (84:60) [16:01:32:260]: PROPERTY CHANGE: Adding Li
We need to register a OCX file using WiX. How to do that?
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel
Don't use advertised shortcuts.
http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm
Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com
**Design, Simulate + Innovate with the **
Integrated Environmen
Hi.
I create a shortcut on the fallowing way:
...
...
...
...
On this way, a Shotcut to m
I've experimented with this and have found that the symbols really seem to
mean this:
# - Can be any number
& - Can be any letter
? - Can be a number or letter
^ - Can be any letter, but it will always be converted to uppercase
@ - Creates a random number.
< - Beginning of visible part of mask
>
Unfortunately I've not found a way to hide UI totally. I've decided to
create special Patch Welcome screen and redirect to Progress screen after
the click "Next" Button on this welcome screen.
--
Best Regards,
Oleksandr Y. Nechyporenko
Hi all,
Ensuring that the service being installed is dependent on already installed
services is fairly straightforward, but I need to do the opposite - i.e. as
part of my install I need to modify the service dependencies of an existing
service (i.e. already installed on the target box), to ensure
What happens if your Q&A find bugs in your application? Do you fix those
in the installer too?
Use a Component Condition on your RemoveFile so it doesn't get touched
during major upgrades. However the copy procedure Sascha explained to
would be outside of the installation process. If you do it wit
Considering there's absolutely no registration information in your
fragment I'm not surprised it's not registering the DLL.
Heat will only harvest what DLLRegisterServer does. If your DLL doesn't
export that function & uses some random custom method for COM
registration instead then heat has no id
This came up with someone else a few months ago. As the error message
says make sure the Windows Installer service is running and accessible
by the user account running the build process on the build machine. The
other chap was running some sort of restricted account or something
which didn't give
Arghh, yes, thx!
Viv ;)
On 3/26/2010 10:21 AM, ricky sundrani wrote:
> Check the spelling INSTALLLOCATION in the value attribute
>
>
> On Fri, Mar 26, 2010 at 2:45 PM, Viv coco wrote:
>
>
>> Hi,
>>
>>
>>
>> I want to save the path where my binaries are installed somewhere in the
>> registry
> On pre-Vista (pre MSI 4.0) the ServiceControl entries aren't considered for
> files-in-use situations. On Restart Manager systems with MSI 4.0 and above,
> it does look at the ServiceControl table but there have been some reports
> that it doesn't work with every entry in the ServiceControl t
Thanks guys, helpful tips!
Viv ;)
On 3/29/2010 6:46 AM, Sascha Beaumont wrote:
> If this happens again... here's the procedure I usually follow
>
> 1) Fix the broken condition.. avoid making any other changes if possible.
> 2) On a "broken" machine, "recache" the MSI with "msiexec /fv myproduct.m
Hi,
> Can you install a default configuration file and then copy that to
the "user" configuration if it doesn't exist?
Well, I could do so, already thought about that, but unfortunately the
application is already in Q&A so we are not allowed to change anything
to it anymore so everything "tha
Yes, I did include these controls within my custom dialog.
Any other thoughts ?
Vishwajit
-Original Message-
From: Rohit Sharma (SIDC) [mailto:rohit.sha...@symyx.com]
Sent: Monday, March 29, 2010 1:02 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] E
Here is my DialogBox Dlg1
1
1
WARNING =
"1"
PROCEED = "1" OR
WARNING="0"
1
--
View this message in con
Can you share the code for your Dlg1 where you have defined the dialog
box and controls, should be something like:
...
...
-Original Message-
From: Sagar [mailto:sagarkavitak...@gmail.com]
Sent: Monday, March 29, 2010 1:52 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-
Thw warning Dialog box gets displayed. but when i press 'Proceed Anyways'
button it sets the PROCEED property to '1' and closes itself. but the wizard
stays at Dlg1. and does not navigate to Dlg2.
Here is what the log says:
Action 10:56:17: Dlg1. Dialog created
MSI (c) (1C:68) [10:56:20:142]: Do
Within the custom dialog, have you made sure that the next/back controls
are defined, e.g.:
...
...
...
...
Rohit
-Original Message-
From: Vishwajit Walke [mailto:vishwajit.wa...@matrikon.com]
Sent: Sunday, March 28, 2010 11:11 PM
To: General discussion for Windows Installer XML t
Hello Bob
Remove control event does not HIDE the feature. It just puts a red-cross
in front of the feature and provides user an option to enable it. (Refer
comment#8 on your blog from peter:
http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/).
If I set feature level at 0, I cannot c
71 matches
Mail list logo