Is the property formattable? If so, you could assign a property value to
it.
But, the fact is, that is a valid warning. Wix just puts the string into a
table in the resulting .msi/.msm and that technology imposes limits on it's
content. If you want to use the installer, you have to play by
I write an msbuild action, but I have lot's of custom activity, so I have a
.targets file of my own that I include in my new projects. That makes it
easier to remember, and quick to fix once I find it missing. I like your
$(var) method though.
Chris
On Fri, Jul 18, 2008 at 6:48 AM, Neil
Are you using votive? And are you using the WixUIExtension?
If so, I would imagine you can skip the extension, and just fully replace
the FilesInUse name. Copy down all the rest of the UI wxs and just go to
town.
Chris
On Fri, Jul 18, 2008 at 4:42 PM, Dan Giambalvo
[EMAIL PROTECTED] wrote:
I can't really answer intelligently to question #1, as to question #2, I'll
do my best.
Heat is really built for initial import functionality, not continual
maintenance. You do not want your GUIDs changing on your components with
each build, it will turn upgrades into a nightmare, and will make
I just use Votive to set my projects up, then use MSBuild on a CI Build
machine to actually accomplish the builds.
I also need to split mine up into x86 and x64 builds, so I have all that run
within there. I just create the projects I need, then the installer
projects for each component within
Is your Website element inside of a component? It won't create a site
outside of a component, it'll just reference it.
Chris
On Wed, Jul 16, 2008 at 3:51 AM, Natarajan, Thangaraj (MLITS)
[EMAIL PROTECTED] wrote:
Please find the Log File details for the Error.
ConfigureIIs: Error
Did you add the 'GO' statement? It's being passed as a parameter.
Chris
P.S. If you have profiler on another system, you can run it while the
installer runs on the original system. It watches the SQL server, so as
long as it can connect, it can profile for you. :-) Good luck!
On Wed, Jul
Check out the ext project in the WiX source distro for how they embed the
wixlib in extensions. I used the WixSqlExtension as that one is pretty
simple.
You need to make a solution with your .wixlib project in it, and your C#
Application Library extension project. You put a link in the
Do you have a log?
On Tue, Jul 15, 2008 at 10:15 AM, sai rahul [EMAIL PROTECTED] wrote:
Hi,
I am new to wix and am posting here for the first time. I've creating a
database and running a script to add Tables to it, which is happening
perfectly. Then i am running a script to create a Stored
things included into the project.. Paperwork, approval
process, etc. So, if you want me to send attachments or whatever, then let
me know.
:-D
Chris
On Tue, Jul 15, 2008 at 11:24 AM, Bob Arnson [EMAIL PROTECTED] wrote:
Christopher Karper wrote:
has a bunch of items for build the Wix toolset
Sql Stored Procedure from SqlString
Nope.. sorry i dont know how to create one.. will try in the meanwhile
how
to create one...
On Tue, Jul 15, 2008 at 8:19 PM, Christopher Karper
[EMAIL PROTECTED] wrote:
Do you have a log?
On Tue, Jul 15, 2008 at 10:15 AM, sai rahul
PROTECTED] wrote:
Christopher Karper wrote:
Apparently, I was having a version issue. It's not reported nicely, but
something, somewhere was mismatched.
Check out fuslogvw --
http://msdn.microsoft.com/en-us/library/e74a18c4.aspx.
--
sig://boB
http://joyofsetup.com
for now, all extensions must be x86 (or
neutral).
Why would you need to compile the extension DLL as x64?
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Monday, July 14, 2008 7:46 AM
To: General discussion for Windows
That got me set up right.
For public reference... In order to get my extension to build using all
the work put into the WixBuild.Common.targets file, I had to move a bunch of
stuff around.
IMHO, It looks like that file was originally used for the additional build
tasks and new task types
I'd also consider using DTF if you can, instead of your own custom
wrappers. It handles all the grunt work for you.
Chris
On Fri, Jul 11, 2008 at 4:46 AM, Markus Ewald [EMAIL PROTECTED] wrote:
Ryan O'Neill wrote:
The thing that seems obvious is that it is probably using .Net 3.0 or 3.5
as
OK, I'm trying to build a Wix extension to handle some tasks for me. First
I tried basing mine off of the code in SqlExtension from the Wix source, but
that did not work at all.
Then I tried the dumbest simple sample:
specified an XSD? Are you adding the project to the CVS checkout or are you
building as a stand-alone?
--
Brian Rogers
Intelligence removes complexity. - Me
http://www.codeplex.com/wixml/
On Fri, Jul 11, 2008 at 10:09 AM, Christopher Karper
[EMAIL PROTECTED] wrote:
OK, I'm trying to build
? Are you adding the project to the CVS checkout or are you
building as a stand-alone?
--
Brian Rogers
Intelligence removes complexity. - Me
http://www.codeplex.com/wixml/
On Fri, Jul 11, 2008 at 10:09 AM, Christopher Karper
[EMAIL PROTECTED] wrote:
OK, I'm trying to build a Wix extension
Of Christopher Karper
Sent: Friday, July 11, 2008 10:22 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Extension Problem
That would be excellent. I can't really wait, but I fear I will not make
substantial progress today, so it would probably
]
wrote:
The problem might be that there's no entry point for candle to attach to...
assuming you have a completely empty Extension.
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Friday, July 11, 2008 10:36
To: General
Apparently, I was having a version issue. It's not reported nicely, but
something, somewhere was mismatched. I downloaded the new source and
binary drop, and bango, everything starts working.
Sheesh. Thanks everyone for the help!
Chris
On Fri, Jul 11, 2008 at 3:11 PM, Christopher Karper
I'm still working on my merge module solution here, and my last e-mail riled
up some interesting convo, but never really answered my questions. I'm
trying to use the Configuration element in my modules, does this just make
the elements available as properties? Do I need to access them some
How would you expect the build server to be able to use the WiX tools
without them being installed?
I mean, strictly speaking you don't need to install them, just make them
available. But what would be the benefit?
Chris
On Mon, Jul 7, 2008 at 4:01 PM, Dmitry Berkovich [EMAIL PROTECTED] wrote:
PROTECTED] On Behalf Of Christopher Karper
Sent: Monday, July 07, 2008 3:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Integration of WiX v3 on team build server
How would you expect the build server to be able to use the WiX tools
without them being
Or, if I were smarter, I'd suggest you put the PropertyGroup structure in
your Team Build .proj file instead, without the condition at all.
Chris
On Mon, Jul 7, 2008 at 4:58 PM, Christopher Karper
[EMAIL PROTECTED] wrote:
I would imagine the best way to do this would be to manually edit your
moved to the later
version of WiX.
Etc...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Karper
Sent: Monday, July 07, 2008 3:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Integration
builds are needed to keep up the tempo.
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves
attention? E-Mail Me
--- On Mon, 7/7/08, Christopher Karper [EMAIL PROTECTED]
wrote:
From: Christopher Karper
In VS2008 RegExp Search Replace, use the expression (remove the outer
single quotes):
' ShortName\=\.#\ '
and replace that with a single space char... that will strip them all out.
Chris
On Fri, Jun 27, 2008 at 2:48 PM, Luke Bakken [EMAIL PROTECTED] wrote:
Mathur, Uttam (GTS) wrote:
Name value should allow embedded MSBuild
variables.
-Jason-
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Wednesday, June 25, 2008 10:17 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users
OK, I am redoing some of my installations to be in merge modules. Now, I
have no idea what I'm doing, so it's kind of learn as I go. I'm stuck in a
few spots, and was hoping someone out here would be kind enough to help me.
:-)
I am installing a .NET web application, which is why this gets
code is shared between VS2005 and VS2008, including
this part.
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Thursday, June 26, 2008 11:40 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users
WiX). .wixlibs are far more
flexible than Merge Modules.
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Thursday, June 26, 2008 13:59
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] General
adds up. Also you are
limited to what a merge module can express.
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves
attention? E-Mail Me
--- On Thu, 6/26/08, Christopher Karper [EMAIL PROTECTED]
wrote:
From
In a project I created in VS2005 I used Installer $(Platform) as my output
name... It worked fine by created Installer x64.msi
Now, I've converted to VS2008, and it still works fine.
However, I created a new project, and set up a merge module WiX project,
with Module $(Platform) as the output
to be escaping the non
alphanumeric characters, but whether you consider that a bug or a feature is
up to you, I guess. I'd rather see it not escaped, but that's just me. I
don't even know if that's a WiX thing, or a VS2008 thing.
Chris
On Wed, Jun 25, 2008 at 1:00 PM, Christopher Karper
[EMAIL
:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Wednesday, June 25, 2008 10:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Question about $(Platform) in Votive Output name
In a project I created in VS2005 I used Installer $(Platform) as my
output
The DTF CA's don't depend on InstallUtil.Gregory, you do seem to be
running in 32-bit mode for some reason. If you look at the MSI log when it
runs, you should have a statement showing whether it's running the 32 or 64
bit shim.
Chris
On Tue, Jun 24, 2008 at 1:52 PM, Wilson, Phil [EMAIL
Yeah, I had to do all the registry entries myself. It's pretty simple if
you look on MSDN for the entries that need to be created.
Chris
On Mon, Jun 23, 2008 at 11:03 AM, Bob Arnson [EMAIL PROTECTED] wrote:
Nahappan SM wrote:
action). As per the documentation, the tag to be used is SnapIn
I started doing it after my CA's started failing with no return info.
Chris
On Mon, Jun 9, 2008 at 1:28 PM, Christopher Painter [EMAIL PROTECTED]
wrote:
That was my first natural inclination also. I think it's going to be a
hard habit for developers to kick.
My CA method has a try/catch
I just installed the new Wix3_x64.msi (v3.0.4206.0) today, and now I get
this:
Error1The specified task executable could not be run. Could not load
file or assembly 'wconsole, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=ce35f76fcda82bad' or one of its dependencies. The system
cannot
Oh yeah. I'm running this under VS2005.
On Fri, Jun 6, 2008 at 3:48 PM, Christopher Karper
[EMAIL PROTECTED] wrote:
I just installed the new Wix3_x64.msi (v3.0.4206.0) today, and now I get
this:
Error1The specified task executable could not be run. Could not
load file or assembly
Is there any way to tell DTF to run the 64 bit version of the runtime?
Chris
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
.
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Thursday, June 05, 2008 12:27 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] DTF in Win64
Is there any way to tell DTF to run the 64 bit
I've been having DTF bomb out from time to time on an otherwise alright
installer. If I rerun the installer immediately, it works fine. I have 3
managed CA's in this installer, and once about every 10 times I run it, one
of them fails.
For instance, I have a CA that builds up SQL queries with
.
I have already checked in the fix, so tomorrow's WiX build will resolve the
issue.
Anyway thanks for reporting it.
-Jason-
-Original Message-
From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] On Behalf Of Christopher Karper
Sent: Thursday, June 05, 2008 2:21 PM
To: General
I need to know how to increment a registry value, or set it to 1 if it
didn't previously exist. How would I go about doing this?
I can read the current value, if it exists, then set it to one if that value
is blank...
But how do I do math? Do I need to write a CA for this? That seems like
-windows-installer-1310.html
But otherwise it's custom action time. And if VSTO/Office 2007 is
involved, I reccomend a random number generator not an increment operation.
Christopher Karper [EMAIL PROTECTED] wrote:
I need to know how to increment a registry value, or set it to 1
I think that's my solution. Thanks for the pointers! :-D
Chris
On Wed, Jun 4, 2008 at 3:20 PM, Christopher Painter [EMAIL PROTECTED]
wrote:
Also if DTF is an option, check out:
http://blog.deploymentengineering.com/2008/05/data-driven-cas-made-easy-with-dtf.html
Christopher Karper
-templates.aspx
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Christopher
Painter
*Sent:* Tuesday, May 20, 2008 6:14 PM
*To:* Christopher Karper; [EMAIL PROTECTED]
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] DTF in MSBuild
I wanted to keep
All I can say is, I signed up for the list to send questions, since I
thought that's how it was set. And I deal with more spam from this group
than any other source.. manually at least.
Chris
On Thu, May 22, 2008 at 10:41 AM, Rob Mensching [EMAIL PROTECTED]
wrote:
Based on the feedback, I'm
I'm trying to read binary data into a memory stream, but
Stream stream = binRec.GetStream(Data);
using (StreamReader sr = new StreamReader(stream))
{
script += sr.ReadToEnd();
}
Gives me an ArgumentNullException when I try to read the stream. Am I
missing a step?
Is
You'll need to create your own UI sequence to adjust the dialogs used in
installation. I would suggest using the closest appropriate WiX dialog set
as a starting point, and you can customize from there.
I copied the file I liked locally, and made my modifications, changed the
reference in my
You need to copy the file out that the WixUIExtension is using as source.
If you download the sources, you can grab it right out.
Your error is because you're naming a dialog the same as an existing one.
Give it a unique name, then change the Next and Previous actions to
match what you're
; }
*Christopher Karper [EMAIL PROTECTED]* wrote:
I'm trying to read binary data into a memory stream, but
Stream stream = binRec.GetStream(Data);
using (StreamReader sr = new StreamReader(stream))
{
script += sr.ReadToEnd();
}
Gives me an ArgumentNullException when I
but I'll see what I can learn here. I
am wondering though, is your text unicode or ansi and would it even
matter?
*Christopher Karper [EMAIL PROTECTED]* wrote:
It's text, and I'm running as a custom action, so my database should
already be available.
I'm opening the view with a joined query
the classes are
trying to address.
*Christopher Karper [EMAIL PROTECTED]* wrote:
Shouldn't matter. I can get the data to and from the file with no issue.
It's just trying to get the data into the memorystream instead f the
filestream is an issue.
The RecordStream object in DTF looks like
On Wed, May 21, 2008 at 4:00 PM, Kelly Leahy [EMAIL PROTECTED]
wrote:
dumb question (maybe).
Is script null upon entry into the loop you gave?
It can't be as far as I know for the += operator to work.
Kelly
*Christopher Karper [EMAIL PROTECTED]*
Sent by: [EMAIL PROTECTED]
05/21/2008 12
-Users list since this is really .NET
discussions more so then WiX/MSI proper.
*Christopher Karper [EMAIL PROTECTED]* wrote:
No, it's not, and actually, that was a remnant from a variation I tried.
I thought maybe ReadToEnd wasn't working, so I did it line by line and got
the same issue
you file it on SF for tracking? Thanks!
For now I suggest you use the workaround you already have, which is to
extract the stream to a temporary file.
-Jason-
*From:* Christopher Karper [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, May 21, 2008 1:24 PM
*To:* Jason Ginchereau
*Subject
FWIW, I had to turn off all the signing in the MakeSfxCA project to get this
to work. Just in case anyone else tries to build it, they will need to do
the same presumably.
Chris
On Fri, May 16, 2008 at 3:35 PM, Jason Ginchereau [EMAIL PROTECTED]
wrote:
Yes, sorry it looks like I accidentally
I've got the DTF wrapper bit running as a simple exec task by adding the
following to the end of my project file for the CA dll.
It uses the project output and appends an _Sfx to it to mark it as the
wrapped version. It's brute force, and it steals from the wix.targets
file
Pay special
Oh yeah, also note, this depends on you having a file named
CustomAction.config in your project. I great improvement would be to have
it check for the file's existence before including it. :-)
YMMV.
Chris
On Tue, May 20, 2008 at 5:49 PM, Christopher Karper
[EMAIL PROTECTED] wrote:
I've
://blog.deploymentengineering.com/2008/05/data-driven-cas-made-easy-with-dtf.html
*Christopher Karper [EMAIL PROTECTED]* wrote:
Oh yeah, also note, this depends on you having a file named
CustomAction.config in your project. I great improvement would be to have
it check for the file's existence before
as it took a while for me to figure out. In
particular that the Transitive attribute is required otherwise it won't
re-evaluate the condition…)
*From:* Christopher Karper [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, 15 May 2008 2:31 a.m.
*To:* Thomas Mulgrew
*Subject:* Re: [WiX-users] User
I would imagine you're going to run into serious issues there, as the
resolution isn't set per machine, but per user. You would have to change
the resolution for all users in the domain, and that's something probably
best handled by group policy administration rather than application install.
I'm trying to add a web site to a server on install, and it's replacing the
Default Site rather than adding a new one. Is WiX's CA using the IP/port
combination to check for duplicate websites instead of letting the developer
decide? I don't want to overwrite an existing installation, and I
Are you rerunning a cached version? If you're trying to remove or repair
from ARP, then you would see whatever the original installer had on offer,
right?
Chris
On Wed, May 7, 2008 at 2:36 PM, Srinivas Tirupati [EMAIL PROTECTED]
wrote:
Resending as didn't get any replies L
*From:*
Just allow it to be set on a higher level, like componentGroup
componentGroup ... unspecifiedVital=yes
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
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
is worse? smile/
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Christopher Karper
*Sent:* Tuesday, May 06, 2008 10:42
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] SQL Script question
Why is it that SQLScripts don't use property replacement
brackets so much, makes it not very
enticing to shove the SQL Script into a record and have it formatted for
you.
*From:* Christopher Karper [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, May 06, 2008 11:41
*To:* Rob Mensching
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] SQL
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 your
So, my latest boondoggle is this. The CA I'm creating to load SQL servers
into a combobox takes about 4-5 seconds to run, and I'm trying to either
reduce or eliminate the user impact of that. I tried putting a Browse
servers button on my dialog, but I couldn't get the combobox to pick up on
the
This is killing me. I'm trying to do the same thing.
Now, I'm a C++ newb, but I have some people helping me. When I try to
compile even the sample code, I'm getting:
error C2664: 'WcaAddTempRecord' : cannot convert parameter 6 from 'const
wchar_t [14]' to 'UINT'
on this line:
hResult =
= WcaAddTempRecord (hTable, hColumns, LListBox, 0, 3, *
(LPCWSTR)*LLISTBOXVALUES, i, *(LPCWSTR)*LItem 1);
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Christopher Karper
*Sent:* Thursday, May 01, 2008 11:01 PM
*To:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX
Aha! Perfect, Thank you very much.
Chris
On Thu, May 1, 2008 at 8:36 PM, Bob Arnson [EMAIL PROTECTED] wrote:
Christopher Karper wrote:
error C2664: 'WcaAddTempRecord' : cannot convert parameter 6 from
'LPCWSTR' to 'UINT'
Gabor's tutorial is using WiX v2. In WiX v3, the signature
BTW, someone might want to update that in the sources that are being
distributed. I looked in there and that argument wasn't listed yet.
:-)
Chris
On Thu, May 1, 2008 at 10:07 PM, Christopher Karper
[EMAIL PROTECTED] wrote:
Aha! Perfect, Thank you very much.
Chris
On Thu, May 1, 2008
101 - 177 of 177 matches
Mail list logo