If you're using Votive, go to the property pages, and add
SOURCEPATH=\\droplocation\sourcecode
to your define variables.
I had a lot of problems getting the values to stick for my project
configurations, so ended up doing it manually in the wixproj file, as described
below in my original reply
Tom Busmire (KDDS Group LLC) wrote:
I'm using WiX version 2.0.3929.0 for my project's installer. Does
anyone know if WiX has support for special/extended characters?
Specifically, I am trying to display a Text control that contains "®"
(that may be hard to see, it's the registered trademark s
[EMAIL PROTECTED] wrote:
As in /MD instead of /MT?
Other way. /MD[d] says to use the CRT DLL; /MT[d] says to statically
link the CRT.
--
sig://boB
http://bobs.org
-
This SF.net email is sponsored by DB2 Express
Downlo
Well, looks I'm not quite done yet.
After I use my dialog to change shortcut location folder, the shortcuts, and
folder are not removed on uninstall.
It's like installer does not know that shortcuts are in a different folder
now.
I could try to add it to WiX. I used more or less standard BrowseDlg, only
added custom action to restrict walking the tree above Programs folder, and
several other shortcut validation rules.
It's all based on a custom action in a DLL. Others may have different
validation rules, I could try to
>>After installing Visual Studio 2005 SP1, the WinSxS Merge Modules will
be available in [ProgramFilesFolder]Common Files\Merge Modules.
But beware of the Orca behavior. Any one of the RTM versions that you
looked at with Orca won't be updated by installing SP1 because Orca
unconditionally change
Oh, sorry, maybe I misunderstood where this thread was going. The switch to
turn off the file versioning/hashing stuff is there to support "faster build"
processes that don't have access to all the files at the time they want the
Binder to run. The Office build system is very large and this fe
Hey,
Thanks for that tidbit. I was hoping someone could guide me in the
writing of that custom action. I've done a couple here and there, but
none that do text manipulation so I am at a total loss. Thanks for the
help!
Subject:
Re: [WiX-users] Te
Rob,
You are right (or course) - it is reason 1. Below. If I leave the tag
empty (VBScriptCall="") it works as expected - the Target column in the
MSI is empty and it build cleanly. Should have thought to try it first -
I hate it when that happens.
Well, maybe that should be my sign to go home fo
But then why allow it to be turned off at all? Even if not from the XML,
then why not as another command line option?
-noscan "c:\myfile.exe"
Technically that would be better than turning it off altogether. Not
trying to be argumentative. And in the end I am fine with the way it
works - just tryi
Thanks.
I had to change it to this:
NOT (&WinClient = 3) AND (!WinClient = 3)
To get it to not run during the upgrade, but it worked.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 4:14 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Su
After installing Visual Studio 2005 SP1, the WinSxS Merge Modules will
be available in [ProgramFilesFolder]Common Files\Merge Modules.
Unless you had a pre-release version of Visual Studio 2005 installed on
your system. There's a bug where only the 64-bit Merge Modules would be
updated by Visual
I don't see any other attributes on XmlFile that would allow you to
specify node insertion idx/before/after/etc so I think if you need that
level of capability you'll have to enhance XmlFile (and share :-))
From: Rory Clark [mailto:[EMAIL PROTECTED]
Sent: Frid
I have one more wrinkle for you. Is there a way add the new node at the
beginning of the element list?
Thanks!
Rory
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of LEMIRE,
JOHN
Sent: Friday, April 27, 2007 1:23 PM
To: wix-users@lists.sourceforge.
I was able to build with a colleague's VC2005 install with no issues
(build wise) but in trying to move my project into VC++ 2005 Express on
my own system, I get linkage errors.
1>wcautil.lib(wcalog.obj) : error LNK2019: unresolved external symbol
[EMAIL PROTECTED] referenced in function "int
Do you have a sample for XmlConfig? We're not seeing this in the XSD
and when we go to compile our sources, we get errors saying it is not
recognized.
Is the reference to wixca.wixlib required for both light.exe and candle?
Presently, we just reference it in light.exe.
Thanks!
Rory
__
// Create a new empty tag...
// Add a key attribute to the tag that doesn't have one yet...
// Add the value attribute to the tag with the correct key
value...
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark
Sent: F
I have used a condition like this
(&Complete = 3) AND NOT (!Complete = 3)
Where "Complete" was the id of my main feature.
Check out http://www.tramontana.co.hu/wix/lesson5.php
It seems to work for me. Maybe someone with more experience has a
better suggestion though.
-Original Message--
I have a component that updates an XML file using the XmlFile element.
I only want this to be ran on a clean install, and not on an upgrade.
I'm using wix v3. Here is what my component looks like:
Not Installed
I thought that the condition eleme
We've had this debate before. We decided not to do this back then... I'm still
uncomfortable doing this in the WiX toolset because it technically isn't the
way you're supposed to do things.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Kapilik
S
WiX v2's XmlConfig is a bit more powerful and will probably work better for
this case.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark
Sent: Friday, April 27, 2007 12:36 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Looking for a sample code for XML manipul
One of two reasons:
1. The attribute that is required but may be empty. It is needed to
differentiate the CustomAction element from one custom action type to another.
2. It's a bug.
I'm pretty sure this is a case of the former not the latter.
Additionally, I'm seriously considering creating
Preface: I found the sample located at
http://www.tramontana.co.hu/wix/lesson5.php#5.11 for manipulating XML
files and creating elements and assigning attribute values.
However, it does not quite cover our use case here.
Take this snippet of a web.config file:
Matt,
For the record, I also think that it would be good if WiX let you
override file versions, sizes and languages one an individual basis. As
it is it is all or nothing (controlled by a switch to the linker - I
think). I think that it would be great if there was a way to turn off
the automatic v
So I took the component out from underneath the directory:
And it seems to be working, even on modify.
Thanks!
Lindsay Harris
From: Bob Arnson
Sent: Friday, April 27, 2007 11:50 AM
To: Lindsay H
Hello,
I want to detect which user runs IIS. Let me elaborate my scenario:
In WiX installation I create a queue and an IIS website. The website needs
to talk to the queue. If I add ASPNET user in the security of the queue the
website can talk to the queue else it gives Permission Denied.
But the
Brett Kapilik indigorose.com> writes:
>
> Matt,
>
> What do you mean by:
>
> "I just wanted to know if there was a way to determine automatically in
> WiX if a file had version
> information or not and set that attribute accordingly."
>
> Where would you expect this to happen? WiX does, by d
Unfortunately, once the component is installed, you can't change its
directory - which it has, even if it has no files - during a modify
operation. And because there are other operations (CreateFolder,
Permission) you'd need to uninstall the component, modify its target
directory, then install it a
Matt,
What do you mean by:
"I just wanted to know if there was a way to determine automatically in
WiX if a file had version
information or not and set that attribute accordingly."
Where would you expect this to happen? WiX does, by default, determine
if the file has version information or not
I asked this same question just yesterday and got no response.
I you figure this out please include wix-users so we can all benefit :-)
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lindsay
Harris
Sent: Friday, April 27, 2007 10:31 AM
To: Bob
A question for Rob and the others who are responsible for the WiX
architecture:
When using say a VBScript custom action (Type 6) with the BinaryKey
attribute set (the VBScript is in the Binary table), why was it designed
so that you HAVE to spcify a VBScriptCall attribute? The Windows
Installer do
Use the CustomAction element. There are a few ways to do it, but the one
the comes to mind as a general solution is to schedule it after
InstallFiles in the InstallExecuteSequence and set the Execute attribute
to "deferred" ot "commit". Make sure that you read the MSDN topics about
deferred custom
I think I also need to elaborate more on what I'm doing. I have binary files
(.dlls, .exes, etc) that have version information that we'd like WiX to apply
the versioning rules on. However, we also have .asp files, xml files, .cs
files, etc. that are part of the application but don't have versi
Dependency Walker (depends.exe) is part of the Platform SDK, ships with
Visual Studio (in Common7\Tools\Bin) and is downloadable from
http://www.dependencywalker.com/.
--
Mike Dimmick
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 27 April 20
Rob Mensching microsoft.com> writes:
>
> The WiX toolset isn't going to make it easy to lie about the Version
number. You'll probably need to go into
> the Binder code and hack it so that you can provide your own version number
for the files in the way that
> you're being directed.
>
> I fin
On 4/27/07, Wilson, Phil <[EMAIL PROTECTED]> wrote:
Ah, ok, the one in [ProgramFilesFolder]Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\vcredist_x86 is up to date with SP1.
yes, I should probably have mentioned that (as long as you pull it from a
machine that has been updated wi
Rob Mensching microsoft.com> writes:
>
> The WiX toolset isn't going to make it easy to lie about the Version
number. You'll probably need to go into
> the Binder code and hack it so that you can provide your own version number
for the files in the way that
> you're being directed.
>
> I fin
Ah, ok, the one in [ProgramFilesFolder]Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\vcredist_x86 is up to date with SP1.
While I'm on this subject, I've noticed that Orca will unconditionally
change modify dates on merge modules. You don't need to alter them in
any way, just open an
Hello all,
I'm using WiX version 2.0.3929.0 for my project's installer. Does anyone know
if WiX has support for special/extended characters? Specifically, I am trying
to display a Text control that contains "(r)" (that may be hard to see, it's
the registered trademark symbol) and "-" (ndash).
A
I find it hard to believe they put a refresh up there on April 10th that
is not for SP1, but you're right, it's for the RTM. The embedded
versions are still at 8.0.50727.42, sigh.
Phil Wilson
From: Simon Dahlbacka [mailto:[EMAIL PROTECTED]
Sent: Friday, Apr
Thanks everyone for the responses.
I am trying to ACL this directory, so there ARE components installed:
From: Bob Arnson [mailto:[EMAIL PROTEC
How does one order Custom Actions to be run at the end of the installation,
like after files have been installed?
--
Nathan Lane
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2
As in /MD instead of /MT?
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 12:08 PM
To: Rowland, Chris
Cc: [EMAIL PROTECTED]; WiX-users@lists.sourceforge.net
Subject: Re: [WiX-users] Logging in a custom action
[EMAIL PROTECTED] wrote
On 4/27/07, Wilson, Phil <[EMAIL PROTECTED]> wrote:
As an easy test, install the VC support redist for VS 2005 on a test
system and see if your custom action (writtten in VS 2005, yes?) works.
That'll isolate it to a C++ dependency on the 8.0 CRT etc
http://www.microsoft.com/downloads/details.
There is a tool out there called "depends.exe" that does this *and* provides a
spiffy tree that shows all the dependencies your code has. I use this tool
*all the time* to figure out how "heavy" a piece of code is. Fewer
dependencies the better.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE
I've lost track of what your CA actually does (if it was ever mentioned)
but have you tried using a dummy exe shell and having it do a load lib /
getprocaddress on your CA?
This may be a way to find a dependency problem on that box.
I once ran into one trying to use a winsock api on a W2K box. W
As an easy test, install the VC support redist for VS 2005 on a test
system and see if your custom action (writtten in VS 2005, yes?) works.
That'll isolate it to a C++ dependency on the 8.0 CRT etc
http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4
C13-9C99-220B62A191EE&displ
Hello
How to use dark.exe with parameter -x or /x to get longname binaries from
MSI-file?
I mean if I use something like
dark.exe "My Integration.msi" "My Integration.wxs" /x D:\My Integration\
And when dark has finished his work I want to have binary files from my MSI
in
You may have other problems (like dependencies that aren't being met thus your
code is immediately failing) but assuming that your code is running correctly,
you're not going to see any messages. Why? Your answer to my last question.
::MsiProcessMessage() will not work from a UI "DoAction". W
The WiX toolset isn't going to make it easy to lie about the Version number.
You'll probably need to go into the Binder code and hack it so that you can
provide your own version number for the files in the way that you're being
directed.
I find it strange that you're being told to find other w
[EMAIL PROTECTED] wrote:
Is there any way to determine from the log why a CA is failing to
execute, if it appears that its never even getting into the CA in the
first place?
That almost always means that the DLL has a dependency not being met,
which almost always means you're linking with
Mark Rendle wrote:
Since this was quite troublesome, and involves a fairly common merge
module, it occurs to me that I could share the wxs file with the
community at large. Is there an obvious place where I could upload it?
The WiX example tracker on SF is at
http://sourceforge.net/tracke
Thomas B wrote:
> Does MSI packages have any size restriction? On one of our Virtual
> boxes our installer refuses to run if I add another 50 Mb .data file
> to the MSI package making it 140Mb instead of 90.
There's no problem with MSI on packages that size or anywhere close. But
make sure you
[EMAIL PROTECTED] wrote:
No, I haven't tried that. The WiX chm explicitly says you need VS
2005 to build.
I guess I could try it with 03 anyways.
That's why I'm not sure you can use wcautil.lib from VS 7.1.
--
sig://boB
http://bobs.org
---
Anton Filippov wrote:
> Where I must write ?
The only valid parent for DialogRef is a UI element.
--
sig://boB
http://bobs.org
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of
I found a co-worker lucky enough to have 05 installed and built my dll
there (easy as pie) but the CA still bails, apparently before it has a
chance to log anything.
Is there any way to determine from the log why a CA is failing to
execute, if it appears that its never even getting into the CA
I didn't have one J. Thanks for the help. Works great now.
From: Rob Mensching
Sent: Thursday, April 26, 2007 9:19 PM
To: Bryan Wheeler; wix-users@lists.sourceforge.net
Subject: RE: Votive build error: LaunchFile
You've scheduled LaunchFile as a CustomAction but haven't provided the
defini
Hi!
I'm from Puerto Rico and I work for a software company that almost every
filename is written in spanish. I harvested our application's directory and
received errors about filenames containing ñ character. Is there any way to
escape it and make the filenames containing it legal filenames?
Windows Installer doesn't really have any string manipulation abilities, just
some comparisons.
You'll need a custom action.
Rob
Andre Nelson wrote:
> Hello all,
> I am trying to do the following:
>
> * I am reading a directory from a registry entry that comes back as
> something lik
Hello all,
I am trying to do the following:
* I am reading a directory from a registry entry that comes back as
something like C:\dir1\dir2\dir3
* I want to take that directory path and make it into C:\dir1\dir4
(basically, I know what dir2 and dir3 are - always. I want to be
Hi,
The size restriction for the MSI should be the same that for the Operative
System, i think there is a limit around 4 GB, but it seems that windows
doesn't handle well file over 2 GB because many applications split files
about this size.
I did a test with a real life installer i had over here
I noticed the following that probably relates to this. A warning I had
been ignoring.
Are you dynamically linking against MSVCRT?
I'm not sure... how might I find out?
msvcrt.lib(crtdll.obj) : warning LNK4229: invalid directive
'/manifestdependency:type='win32' name='Microsoft.VC80.CRT'
ver
Brett Kapilik indigorose.com> writes:
>
> What about using the CompanionFile attribute (File element) for the
> non-versioned file?
>
> - Brett
>
That suggestion was provided, but I was told to investigate the other option.
-Matt Anderson
--
No, I haven't tried that. The WiX chm explicitly says you need VS 2005
to build.
I guess I could try it with 03 anyways.
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 2:18 AM
To: Rowland, Chris
Cc: [EMAIL PROTECTED]; WiX-users@list
What about using the CompanionFile attribute (File element) for the
non-versioned file?
- Brett
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Matt Anderson
> Sent: Friday, April 27, 2007 7:28 AM
> To: wix-users@lists.sourceforge.net
> Subject
I'll try to answer your questions, but this is my first experience doing
any sort of work in Visual Studio, so I'm largely unfamiliar. I'm also
using 2003, which seems that is partially contributing to my problems.
Basically the installer seemed to be working, except on one particular
vista 64
Does MSI packages have any size restriction? On one of our Virtual boxes our
installer refuses to run if I add another 50 Mb .data file to the MSI
package making it 140Mb instead of 90.
It just gives a (loosely translated) "Cannot open the installationpackage.
Contact the distributor to confirm t
Is it possible to determine via WiX if a file has version information? I was
told that if a file has version information to leave it alone, but if it
didn't go ahead and implement version lying ( I know, I know... ).
Unfortunately, I'm limited to using just WiX code and am discouraged from
us
I'm had problems with this too.
I've had the following line in my .wixproj file:
Config="demo.wxi"
Then in my .wxs file, I'd like to include the file specified as config.
I tried this in my .wxs file,
but I get this error:
Error CNDL0150: Undefined preprocessor variable '$(var.Config)'.
T
WiX v2 has a LogonAsService attribute on the User element.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, April 27, 2007 12:53 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Logon as service right v2.0.4820.0
Hi,
I'm installing a Windo
I don't think Windows Installer can grant rights to users. That would be
a security violation.
Do you mean specifying which account an installed service is to run
under?
Rennie
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROT
Verbose log file might tell you why it's happening if you can catch it.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Lalande
Sent: Thursday, April 26, 2007 11:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] uninstall requires msi package
On rare occasions, we
I while back I had this problem and had to write a Custom Action to do it. I
don't have it anymore
because the requirement got dropped.
Rob
[EMAIL PROTECTED] wrote:
> Hi,
>
> I'm installing a Windows service and I've been looking around in the
> documentation for a way to grant a user the l
If you care about passing all the validation checks I'd go with your initial
solution of adding
RemoveFolder to all the components. Otherwise just have 1 component for the
RemoveFolder entry.
Personally I think ICE 38 is a complete pain and I've been ignoring it for ages
with no
side-effects
> It doesn't evaluate correctly until after the CostFinalize action.
When does that happen?
My experience is that the &Feature property is correct in the following
dialog boxes. I use that in my install sequence to skip a dialog box if
the corresponding feature is not selected, as demonstrated
Well, I suppressed them and the installer works!
Since this was quite troublesome, and involves a fairly common merge
module, it occurs to me that I could share the wxs file with the
community at large. Is there an obvious place where I could upload it?
Mark
Bob wrote
Mark Rendle wr
Hi,
I'm installing a Windows service and I've been looking around in the
documentation for a way to grant a user the logon as service right but couldn't
find anything. Does anyone have an example or know how this can be
accomplished.
Thanks
Dan
This e-mail is confidential and may well al
Rajive Kumar wrote:
I am not sure I understand the distinction. It is a property for the
location of the data directory.
The difference is that if it's a directory to which any components are
installed, you won't be able to change it during maintenance mode. If
it's just a property that's
[EMAIL PROTECTED]
--
С уважением,
Ладыгин Владимир Иванович
Ведущий программист
Отдел Разработки ПЦ "АЦК-Финансы"
Компания "Бюджетные и финансовые технологии"
[EMAIL PROTECTED]
-
This SF.net email is sponsored by DB2 Expre
Thanks for answer.
Where I must write ?
... // text styles and properties
NOT Installed
Installed AND (RESUME OR
Preselected)
Installed AND NOT
RESUME AND NOT Preselected
NOT Installed AND
(OLDINSTALLV4 OR OLDINSTALLV3)
OLDINSTALLV4=""
AND OLDINSTALLV3=""
Installed AND NOT
(OLDINSTA
80 matches
Mail list logo