This would require a modification to the SQL custom action, presumably
somewhere in SqlSessionExecuteQuery in src\dutil\sqlutil.cpp. If I recall
correctly, PRINT statements are treated as errors with severity 0 and
therefore turn up in the COM error collection, so the code to log them is
mostly alr
Could you please check and post the entries in the ControlEvent table that
your WiX code generates?
--
Stefan Krueger
Microsoft Windows Installer MVP
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Scott
Parker
Sent: Thursday, April 26, 2007 2:37
I am not sure I understand the distinction. It is a property for the
location of the data directory.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying
ARCHIVEFOLDERDIR property. Its current value is 'C:\Documents and
Settings\Administrator\Desktop\two\'. Its new value: 'C:\Documents an
Rajive Kumar wrote:
Thanks for the response. We are not trying to change the install
location but trying to change the location where the app stores it data.
How are you using ARCHIVEFOLDERDIR? Is it a property or a directory?
--
sig://boB
http://bobs.org
-
Thanks for the response. We are not trying to change the install
location but trying to change the location where the app stores it data.
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 11:28 PM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net; Rajive Kumar
Subj
Mike Dimmick wrote:
> >From Windows 2000 onwards, MDAC is part of the operating system, under
> Windows File Protection, and can only be upgraded using an OS
> update/hotfix-style package or by a service pack. The only supported method
> of installation is to run MDAC_TYP.EXE.
>
D'oh -- totally
Lindsay Harris wrote:
I am having problems with changing a directory based on input from the
uer. It works fine during the initial install, but during modify, the
path is set correctly, and then inexplicably reset back to its initial
value right after CostFinalize. I don't understand why.
[EMAIL PROTECTED] wrote:
I was able to resolve my build errors by "defining" everything missing
myself (to /**/ ).
I read that they might be defined by default in VS05, but not in VS03
(what I'm using.)
Did you rebuild wcautil.lib? I'm not sure whether you're going to run
into problems
Hi,
I am using WIX 2.0 to create the MSI for sql db installation stuffs. I have a
SQL script file and it has all SQL statement to create all the objects like
Tables, StoredProcedures and Views. For logging purpose I have "PRINT"
statement inside SQL scripts.
When I install the MSI, I am not ab
Yeah, I don't think you can do that.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lindsay Harris
Sent: Thursday, April 26, 2007 1:28 PM
To: wix-users@lists.sourceforge.net
Cc: Rajive Kumar
Subject: [WiX-users] changing a directory during modify
Hello,
I am having problems with
Not today. It'd be cool if we had support for it... but no one has contributed
it yet.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dhaval Patel
Sent: Thursday, April 26, 2007 4:51 PM
To: WiX-users
Subject: [WiX-users] Scheduled Tasks
This is something that just came to mind w
Are you dynamically linking against MSVCRT? More specifically, what are the
dependencies your CustomAction has on the OS and are they all met? It is
possible your CustomAction has some dependency and failing to load right off
the bat. Also, can you share the .wxs authoring for the CustomActio
I believe the latest Platform SDK defaults the sal.h in to windows.h now.
We're using the latest Platform SDK so that should just be available right away.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Simoneau
Sent: Thursday, April 26, 2007 12:18 PM
To: [EMAIL PROTECTED];
You don't want to use _T() because that would switch your strings to UNICODE if
you build Unicode and the WcaLog expects char for the first string.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Simoneau
Sent: Thursday, April 26, 2007 11:59 AM
To: [EMAIL PROTECTED]; WiX-user
Use ComputerName. The MSI SDK shows it as a standard Property. That's what
John Lemire was saying.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jrcolons
Sent: Thursday, April 26, 2007 2:34 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-user
You've scheduled LaunchFile as a CustomAction but haven't provided the
definition to the linker. Where is your CustomAction with Id="LaunchFile"?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan Wheeler
Sent: Thursday, April 26, 2007 4:28 PM
To: wix-users@lists.sourceforge.ne
Basically I'm just looking at this:
http://msdn2.microsoft.com/en-us/library/aa368012.aspx
where it says when &FeatureName is safe to use.
But yes, the Wix schema is right - CostFinalize is sequenced before the
first Dialog in the UI sequence (for a first-time install) so that the
&Feature is a
Thanks for the response Phil.
I'm a bit confused by it however. The WiX Schema states "...The CostFinalize
action must be executed before starting any user interface sequence which
allows the user to view or modify Feature table selections or directories."
So I would assume the default WiX Schem
How do I add message queues using Wix 3?
Thanks
Jose
--
View this message in context:
http://www.nabble.com/msmq%2C-wix3-tf3655086.html#a10211336
Sent from the wix-users mailing list archive at Nabble.com.
-
This SF.net e
This is something that just came to mind when I was discussing a deployment
scenario with a colleague - is there a way to create a custom scheduled task
at the OS level using WIX?
So for example, I have a FooBar.exe file that I delpoy which I would want to
run every night at 12:01 AM...
Thanks i
I would guess you need to add a reference in the Votive project to the
extension that includes this action...(?) I don't know which one that
is, though.
-Matt
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan
Wheeler
Sent: Thursday, April 26, 2007 4:28 PM
Help! I've been banging my head on this build error. I've scoured the
web and can't seem to find any documentation that addresses this
problem. I'm hoping it's just a configuration issue, but I can't seem to
nail it down. Am I missing some optional component?
Here's the error:
Unresolved r
Mike,
This is perfect. Not only it answers my question, it clarified three
different concepts I had not grasped.
Thanks a million,
g
On Apr 26, 2007, at 4:44 PM, Mike Dimmick wrote:
> InstallUISequence typically runs in its entirety before
> InstallExecuteSequence is processed (the execute s
Works like a charm!
TARGETDIR=""
TARGETDIR=""
On 4/26/07, Mike Dimmick <[EMAIL PROTECTED]> wrote:
> I would simply use the TARGETDIR directory as the base directory for all
> files, and only define subfolders for anything that needed to go into the
> subfolder. The step I think
It doesn't evaluate correctly until after the CostFinalize action.
Phil Wilson
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Parker
Sent: Thursday, April 26, 2007 2:37 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Check
So then is it correct to say that &FEATURE doesn't evaluate to anything
during the UI Sequence? Or do I have my Publish actions below screwy?
Here's an example: In my main Installer .wxs file I have...
Then in a secondary file dialogs.wxs on a Next button I have
1
It ALWAYS goes to Norm
LEMIRE, JOHN wrote:
>
> It's not clear to me from this if you're saying the one that can be
> obtained from the [ComputerName] property is sufficient or not. Are you
> asking for fully domain name qualified or something?
>
Sorry, I often mislead the people...
Let's suppose my web server is na
Have you tried the MSIBREAK env var? It might be superior for what your
doing if your end goal isn't production logging here.
That is if you're only trying to get extra logging working to debug
something vs logging for normal operation.
Note that if it's a C++ CA you'll need to use the mangled na
A simple call to launch a message box would be
MessageBox(NULL, _T("Custom action"), _T("Attach"), MB_OK);
Note that this is not the correct way to show a message box to a user
during installation, but for temporary debugging works fine.
-Brian Simoneau
-Original Message-
Yeah, the error was in the custom action. (It returned the value 3)
I had tried to attach to msiexec.exe before to debug, but didn't make
any progress with that.
Can you show me how you fired off the MessageBox from within your CA?
This is a lot of debugging just so I can debug :-)
Yeah I find this confusing too (TARGETDIR vs INSTALLLOCATION)
If TARGETDIR is undefined it is defaulted to ROOTDRIVE
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Parker
Sent: Thursday, April 26, 2007 1:52 PM
To: wix-users@lists.sourcefo
I would simply use the TARGETDIR directory as the base directory for all
files, and only define subfolders for anything that needed to go into the
subfolder. The step I think you're missing is setting the initial value of
the TARGETDIR property to something, which you should probably do with a
type
Was the error in the custom action itself? If so, then you can always
try to debug the custom action in Visual Studio. I was able to do this
by adding a MessageBox to the beginning of the custom action and then
attaching to the MessageBox when the custom action was run. If the
error was when lau
Try this:
MSI nazi says "no logo compliance for you!" :)
This may be splitting hairs, but would you need to specify a base volume
here? Something like
Can you rely on the installer to default that for you in all circumstances?
-Scott
--
After an obscene amount of headbanging, I finally managed to get it to
build (with warnings) with the almighty T() call.
Unfortunately that resulted in a CA that caused the installer to quit
due to an error. If only I could log what was going on ><
Assuming the lack of wrapping my strings
InstallUISequence typically runs in its entirety before
InstallExecuteSequence is processed (the execute sequence is processed by
the ExecuteAction action). You can't set a property in the execute sequence
and expect its value to appear in the UI sequence. You should schedule your
custom action in
Why not schedule the SetMyProperty custom action into the
InstallUISequence instead of InstallExecuteSequence? Or into both. I
would imagine that the problem might be related to the
InstallExecuteSequence not being run until after the InstallUISequence.
Not sure about all that, but maybe it will ge
Try this:
MSI nazi says "no logo compliance for you!" :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Sent: Thursday, April 26, 2007 1:29 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Install to C:\Whatever
I realize th
I realize the hip new thing to do is install into C:\Program Files\Whatever.
But I have a legacy app that absolutely must be installed into C:\Whatever. I
tried this:
But then it wants to install my application into R:\Whatever. Any idea how to
make it install into C:\Whatever? Th
Hello,
I am having problems with changing a directory based on input from the uer. It
works fine during the initial install, but during modify, the path is set
correctly, and then inexplicably reset back to its initial value right after
CostFinalize. I don't understand why. How can I stop th
Given a property:
I have a custom action that sets it to different values depending on
what it finds:
NOT
Installed
I need to show a dialog (among other things) depending on the value
of this property:
MYPROPERTY = 1
The problem is that no matter what value the cu
_T is a macro defined in tchar.h. I believe this was included in
earlier Visual Studios because my custom actions were originally written
in VS2003. It looks like __out and others are defined in sal.h.
-Brian Simoneau
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[
It's not clear to me from this if you're saying the one that can be
obtained from the [ComputerName] property is sufficient or not. Are you
asking for fully domain name qualified or something?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jrcolons
Sent:
Rob Mensching-2 wrote:
>
> ComputerName?
>
i'm doing an installer for a web application that some of it's settings
require the webserver name, which it's better to be obtained from some
property other than user interface generated ones... is there some one? how
do i obtain the computername?(j
It's an immediate CA. I tried wrapping my strings with _T() but _T is
not defined. Another VS05 difference?
Could my definitions be causing a problem? I more or less copied them
from a forum post I saw regarding a similar problem.
#define __out /* ? */
#define __in /* ? */
#define __ino
That code looks the same as what I am using except that I have _T()
around my strings. Are you running your custom action immediate or
deferred?
-Brian Simoneau
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 2
I have a WiX project for my ASP.NET application in which I have defined the
path for the sourcecode:
This value is now used in the project to include the necessary files in the
project. My next step here is to include this as part of my MSBuild and I
was wondering how would pass the value for
Mike Dimmick dimmick.demon.co.uk> writes:
>
> InstallShield lies to Windows Installer by setting the FileVersion field in
> the File table to the maximum value, 65535.65535.65535.65535. Personally I
> don't think this is a good idea - I think it's likely to cause a repair
> operation any time yo
Exactly - with version lying the version of the file on disk never
matches the version in the file table.
Phil Wilson
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Dimmick
Sent: Thursday, April 26, 2007 11:28 AM
To: 'Matt Anderson'; wix-users@l
I too am using dotNetInstaller. Seems to work OK.
My understanding of the bootstrap program generated by VS is that it is
hard-wired to invoke the MSI after it has installed the prerequisites.
This is a disadvantage for me. My setup sequence is:
1. dotNetInstaller (renamed Setup.exe)
2. MSI L
An unconditional ResolveSource action can have this effect, but that
doesn't seem likely if it's intermittent (unless there IS a condition
that makes it intermittent).
People do occasionally delete the contents of Windows\installer,
assuming it's temporary. That's worth asking about. IIRC there
Thanks for the continuing advice. I'm still not seeing any log out put
though. I've commented out the guts of my CA, so now I have just:
extern "C" UINT __stdcall VerifyLicenseDir(MSIHANDLE hInstall)
{
WcaInitialize(hInstall, "VerifyLicenseDir");
WcaLog(LOGMSG_STANDARD, "Enter
InstallShield lies to Windows Installer by setting the FileVersion field in
the File table to the maximum value, 65535.65535.65535.65535. Personally I
don't think this is a good idea - I think it's likely to cause a repair
operation any time you use an advertised shortcut.
The versioning rules ass
>From Windows 2000 onwards, MDAC is part of the operating system, under
Windows File Protection, and can only be upgraded using an OS
update/hotfix-style package or by a service pack. The only supported method
of installation is to run MDAC_TYP.EXE.
There is no newer version of MDAC for Windows Vi
On rare occasions, we get reports that our product requires the original msi
package when attempting to uninstall.
Under what conditions does this occur? The only way I can recreate this
issue is by deleting the cached instance in C:\Windows\Installer. Is there
another way?
John
--
Parameters passed on the command line must be names of public properties
i.e. ALLCAPS.
--
Mike Dimmick
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas B
Sent: 26 April 2007 11:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Unmanaged install/ad
Is there a way to choose between always overwriting or using versioning rules
on a per file basis? REINSTALLMODE applies to the whole installation, which
is not what is always needed. I know there has to be a way, because programs
like InstallShield provided that functionality. I just haven't
You have to call WcaInitialize in your method before you can call
WcaLog. You also need to call WcaFinalize before you exit the method.
So your last line could look something like:
return WcaFinalize(ERROR_SUCCESS);
-Brian Simoneau
-Original Message-
From: [EMAIL PROTECT
Is there any way, perhaps analogous to to specify the acls
on the directories created by the installer?
If not does it work to use with the same dir paths as the
's create?
Or does this require a post install CA and if so does one for doing this
already exist?
Thanks
-john
__
No takers on this question?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Quinton
Tormanen
Sent: Wednesday, April 25, 2007 9:33 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Removing folder used by multiple components
My question about "where to install sample
I was able to resolve my build errors by "defining" everything missing
myself (to /**/ ).
I read that they might be defined by default in VS05, but not in VS03
(what I'm using.)
However, I rebuilt my installer with the new DLL and ran it with *cv
logging, and I still don't see anything.
The C
Thanks, that looks like what I wanted.
I'm having trouble linking everything correctly though, and I get a ton
of errors in wcautil.h, like
"E:\Program Files\WiX\sdk\inc\wcautil.h(48): error C2065: '__in' :
undeclared identifier"
And
"E:\Program Files\WiX\sdk\inc\wcautil.h(48): error C2182:
If WiX doesn't provide it today it is because nobody has contributed it.
Remember, the WiX toolset is a volunteer community project. Everything you see
here was built because someone thought it would be cool/fun/useful.
Note, I wouldn't be complaining here if you asked, "Why hasn't anyone
con
ComputerName?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jrcolons
Sent: Thursday, April 26, 2007 8:25 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] getting /setting servername property
I'm trying to set up web.config connection strings
Vicente Cartas Espinel wrote:
> I've to create an installer that checks some hardware and software
> prerequisites and then if some of those software prereqs aren't
> present in the machine, the installer has to download them (from a
> well-known URL) and launch them before continuing (like a nes
I'm trying to set up web.config connection strings and some configurations
that need the server name in order to be set up correctly. Is there a
property in wix or a windows installer property that i can recall on my
sript to set it?
How can I obtain that by Installer or OSS means
Greetings and
Sorry, got this working the DetectOnly attribute in Upgrade section was
set to "yes"
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adriaan
Sent: 26 April 2007 05:20 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Duplicate entries in Add/Rem
Sorry if this is essentially a repost, but I couldn't find anything on
wix-users asking quite the same question I am.
Our product consists of FeatureAAA and FeatureZZZ. We need to enforce that
the user has selected at least either FeatureAAA or FeatureZZZ to install.
I've tried using a Publish -
Carl,
That problem confused me for a couple of minutes too Then I
remembered my XML encoding rules!
The correct syntax would be one of the following:
&AMS = 3
Or
Hope this helps,
Regards,
Richard
From: Carl Quirion [mailto:[EMAIL PROTECTED]
Mark Rendle wrote:
Orca shows that the ICE03 errors exist in the Crystal Reports merge
module itself. Is there anything I can do to work around these?
All you can do is use the -sice switch to suppress ICE03 and hope for
the best. Oh and send your feedback to the BO team to know you'd
app
Vicente Cartas Espinel wrote:
I've to create an installer that checks some hardware and software
prerequisites and then if some of those software prereqs aren't
present in the machine, the installer has to download them (from a
well-known URL) and launch them before continuing (like a nested .m
Thomas B wrote:
> It seems we want to enable administrators to deploy our software via
> simple commandline (eg setup -user= pass= key=). How can you set a
> WIX/MSI package to skip GUI and just use the passed parameters as
> properties?
Use the msiexec /q switch to choose your UI level. See "C
Anton Filippov wrote:
> Here I must write information about this dialog?
Make sure you have a DialogRef, otherwise the linker won't include it
because nothing references it.
--
sig://boB
http://bobs.org
-
This SF.net ema
Stefan Krueger [MVP] wrote:
Looks like this is the case ... but is this documented anywhere?
Nope, not explicitly. The closest I got was the blurb for
MsiSetInstallLevel:
The *MsiSetInstallLevel* function sets the installation level for a full
product installation.
The MSI doc is usual
Gareth at Serif wrote:
> MSI_LUA: Credential prompt is not required at this point, product is managed
> and deployment compliant
> Specifed source is already in a list.
>
Take a look at
http://blogs.msdn.com/rflaming/archive/2006/10/01/uac-in-msi-notes-is-this-intentional-if-so-why.aspx:
Main
Igor Maslov wrote:
> Maybe I'm still very inexperienced with installer controls, but it seems
> very hard to do something different, or change behavior of controls. I'm
> thinking of using approach 1, but maybe I'm missing something and it won't
> work?
>
If you need UI behavior other than what
Hi,
I am creating a package for each release of our software as a major
upgrade, by change the ProductCode GUID.
I have 1 in my
InstallExecuteSequence, howcome does the previous version still shows in
the Add/Remove Programs window? Should it not be removed?
Regards,
Adriaan
---
CHFR continues its Steady Climb, UP Another 23% Since Monday!
China Fruits Corporation
Symbol: CHFR
Price: $0.42
CHFR is climbing steady all week. UP over 23% since Monday, investors
are enjoying the solid climb. Read CHFR's recent news, and get on it
Thursday!
At some point of time, being in a
Hi Richard,
That is exactly what i am doing. I figured that using &FeatureKey and
!FeatureKey, as you suggested, would be the best way to do it. However, i
cant get it to work...
I get his error :
error CNDL0104 : Not a valid source file; detail: An error occurred while
parsing EntityName. Line 2
Hi,
I've to create an installer that checks some hardware and software
prerequisites and then if some of those software prereqs aren't present in the
machine, the installer has to download them (from a well-known URL) and launch
them before continuing (like a nested .msi install). The process
Thanks for your advice. I have done some detailed comparisons between the
log of the successful repair (with UAC prompt) and the unsuccesful repair
(without UAC prompt) and here are the unique lines for each case...
WORKING REPAIR:
MSI_LUA: Credential prompt not required, user is an
"Bob Arnson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Install level is only effective during initial installation. It's not
> used during maintenence mode.
Looks like this is the case ... but is this documented anywhere?
--
Stefan Krueger
Microsoft Windows Installer M
"Bob Arnson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Install level is only effective during initial installation. It's not
> used during maintenence mode.
Looks like this is the case ... but is this documented anywhere?
--
Stefan Krueger
Microsoft Windows Installer M
Hey
It seems we want to enable administrators to deploy our software via simple
commandline (eg setup -user= pass= key=). How can you set a WIX/MSI package
to skip GUI and just use the passed parameters as properties?
- T
-
On Thu, 26 Apr 2007 08:47:32 +0100, Gourlay, Colin wrote:
Gourlay,
> Is it possible to ship the Microsoft .NET Framework Version 2.0
> Redistributable Package with my installer and have it installed
Certainly, that's why it's called redistributable. As far as I know, the only
requirement is to
I am trying to create an installer with the
CrystalReports11_5_NET_2005.msm in it using WiX 3.0.2420.
I have added a bunch of EnsureTable and CustomTable elements, and an
InstallExecuteSequence tweak, to deal with the majority of the errors
given by the linker, and have it down to just 3:
l
Hi.
Here I must write information about this dialog?
I have FileInUseDlg.wxs:
...
*
1
1
1
[DlgTopFont]Some files that need to be updated are currently in
use.
The following applications are using files that need to be updated by
this setup. Close these applications and then click Retry
forgot to send to list...
-- Forwarded message --
From: Simon Dahlbacka <[EMAIL PROTECTED]>
Date: Apr 26, 2007 10:57 AM
Subject: Re: [WiX-users] Net Framework Check And Download
To: "Gourlay, Colin" <[EMAIL PROTECTED]>
It should be possible, see GenerateBootstrapper/@ComponentsLo
This is great, it works but...
In the event that a user does not have internet access on the target
machine the install fails as an attempt is made to _download_ the
framework over the wire.
I should have been clearer when I first posed the question:
Is it possible to ship the Microsoft .NET Fra
Bob
That totally worked. You're my hero for the day.
Mark
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: 25 April 2007 16:28
To: Mark Rendle
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CrystalReports redist causes error 2228
Mark Rendle wrote:
When I build my i
90 matches
Mail list logo