To deal with a UAC related issue, I need to be able to install a COM DLL
into HKLM (so that it adds keys to HKLM\Software\Classes\CLSID). I install
the file into the LocalAppDataFolder and use the wix class element to
register it into HKCR. That I want to still have wix do for me. But I also
want
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
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
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
Hi.
Here I must write information about this dialog?
I have FileInUseDlg.wxs:
...
*Dialog Id=FilesInUse Width=370 Height=270 Title=[ProductName]
[Setup] NoMinimize=yes KeepModeless=yes
Control Id=Retry Type=PushButton X=304 Y=243 Width=56 Height=17
Default=yes Cancel=no Text=[ButtonText_Retry]
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:
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
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
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 MVP
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 MVP
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
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
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
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,
I am creating a package for each release of our software as a major
upgrade, by change the ProductCode GUID.
I have RemoveExistingProducts
Before=InstallInitialize1/RemoveExistingProducts in my
InstallExecuteSequence, howcome does the previous version still shows in
the Add/Remove Programs
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 MSI
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:
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
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
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
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
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
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:
amp;AMS = 3
Or
![CDATA[AMS = 3]]
Hope this helps,
Regards,
Richard
From: Carl Quirion
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 -
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
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
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
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
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:
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 CA
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
Is there any way, perhaps analogous to Permissions to specify the acls
on the directories created by the installer?
If not does it work to use CreateFile with the same dir paths as the
Directory's create?
Or does this require a post install CA and if so does one for doing this
already exist?
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
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
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
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
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
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
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
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
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';
Mike Dimmick mike at 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
I have a WiX project for my ASP.NET application in which I have defined the
path for the sourcecode:
?define SOURCEPATH =\\MachineName\DropFolder\Build001 ?
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
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
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
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
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:
_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]
Given a property:
Property Id='MYPROPERTY' Value='0' /
I have a custom action that sets it to different values depending on
what it finds:
CustomAction Id='SetMyProperty' BinaryKey='HelperDLL'
DllEntry='SetMyProperty' /
InstallExecuteSequence
Custom Action='SetMyProperty'
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
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:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=INSTALLDIR Name=Whatever
But then it wants to install my
Try this:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=MyWhateverDir Name=Whatever
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:
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
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
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
Try this:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=MyWhateverDir Name=Whatever
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
Directory Id='TARGETDIR' Name='SourceDir'
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 :-)
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-
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
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]
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:
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];
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];
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
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
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
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
67 matches
Mail list logo