Can you reproduce this in a tiny MSI that only has one component (or just
has the registry settings)? Maybe some other folks can help you diagnose
the problem if you can provide a sample.
Colin Bleckner <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/28/2008 01:36 AM
To
Kelly Leahy <[EMAIL PROTECTED]>
cc
Neil Enns <[EMAIL PROTECTED]>,
"[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>,
"wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
Subject
Re: [WiX-users] Create EXE wrapper around my MSI?
Hrm, I didn't think that was the case, but I am using a custom UI and
thought maybe I was somehow screwing up the timing with that. To be safe
I switched to WixUI_Minimal UI and tried things out. Still no luck. I've
become so upset over the whole thing that I spent the evening rewriting
the core part of my installer with NSIS instead of WiX. And guess what, I
get the EXACT same behavior! (DLL registers correctly when UAC is
disabled, but not if the user has to allow elevated permissions).
I have NO idea how to fix this, apparently I've messed up something good.
:( I think I'm going to attempt to automatically cancel the install if
the user is running the UAC. This is a terrible, terrible solution but I
don't know where else to turn...
Colin
Kelly Leahy wrote:
It sounds like your registration is happening in the wrong 'stage' of the
install... Just because you're elevated in some places, it doesn't mean
the entire run of the install is elevated. I think the elevation only
occurs during the installexecutesequence, and only during the server side
part of it, and maybe not even the whole thing.
I'm sure this comment isn't all that helpful, but maybe it will point you
in the right direction. Can you actually tell where the registration is
sequenced?
Kelly
Colin Bleckner <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/27/2008 05:04 PM
To
Neil Enns <[EMAIL PROTECTED]>
cc
"[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>, Kelly Leahy
<[EMAIL PROTECTED]>, "wix-users@lists.sourceforge.net"
<wix-users@lists.sourceforge.net>
Subject
Re: [WiX-users] Create EXE wrapper around my MSI?
I was finally able to wrap my MSI with an EXE installer and run my
installer with elevated permissions. And, of course, my installer still
fails to register my DLL correctly (I guess that's what I get for trying
to avoid the root problem...).
Anyone have any ideas how a DLL can register correctly when UAC is
disabled but fail when running with elevated permissions? Is there a
difference between running with UAC disabled and running with elevated
permissions?
Colin
Colin Bleckner wrote:
Ah, I've never heard of iexpress. Seems simple and pretty much perfect,
except that it doesn't seem to recognize an MSI file as a valid file to
run as the "Install Program" entry. My MSI doesn't show up in the
dropdown list and typing the name manually ends up with an error during
the actual install (I also tried "call MyFile.msi" as the Install Program,
but no such luck).
Has anyone triggered an MSI file from iexpress before? I guess I could
attempt to figure out where it unpacks the files and hardcode that path
into my Install Program line, but that sounds like a terrible idea... :)
Colin
Neil Enns wrote:
Did you try looking at iexpress? I've never used it, but John suggested it
last week for building a wrapper exe. Just open a cmd window and type
"iexpress" for the wizard.
Neil
From: [EMAIL PROTECTED] [
[EMAIL PROTECTED] On Behalf Of Kelly Leahy [
[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 12:11 PM
To: Colin Bleckner
Cc: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Create EXE wrapper around my MSI?
Hehehe... just got done blogging about how to make a single-.EXE package
with .NET yesterday. The methodology I used can be used for both managed
and unmanaged projects (although it's admittedly much easier for managed
projects). It may help a little, though its not exactly what you're
looking for.
http://kleahy-technical.blogspot.com
Kelly
Colin Bleckner <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/27/2008 12:06 PM
To
"wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
cc
Subject
[WiX-users] Create EXE wrapper around my MSI?
I know this is a total cop out, but I don't know how else to deal with
my Vista UAC issues right now. :( People have mentioned that one way
around some of the issues is to create an EXE wrapper that requests
elevated permissions and then runs my MSI. Is this easy to create? I'd
like to try that out but I'm not sure where to start.
Colin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form
a Statement of Actuarial Opinion under American Academy of Actuaries
guidelines.
**************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form
a Statement of Actuarial Opinion under American Academy of Actuaries
guidelines.
**************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form
a Statement of Actuarial Opinion under American Academy of Actuaries guidelines.
**************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users