Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MSI, GAC, installing in wrong order

4 views
Skip to first unread message

Richard

unread,
May 12, 2003, 11:50:22 AM5/12/03
to
Hi All,

I've group of assemblies, one .exe service and two .dlls. The .dlls
are to be placed in the GAC prior to attempting to 'installUtil' the
service.

Unfortunately there doesn't appear to be any way to control the
ordering of installation of the folders using VS.Net2003 setup
project, and yep ... it chooses the wrong order despite knowing that
the dlls are dependencies of the exe.

Do I have to manually edit the MSI using Orca to affect this change or
is there some other way I can affect the installation order in the
project settings using VS.Net. If not this is very painful for
automatic builds.

Thanks if you can help,

Richard.

richard

unread,
May 12, 2003, 12:51:02 PM5/12/03
to
I've got around this by writing a shell exe that be bound to a custom
action, installed and used to execute further batch scripts.

It seems mad that VS.Net can't do this and we're forced to circumnavigate
MSI in this way ... what's the point of having MSI ...?

Please tell me I'm missing something ... ?

R.

"Richard" <ric...@richardchandler.net> wrote in message
news:ca7c0c64.03051...@posting.google.com...

Phil Wilson

unread,
May 12, 2003, 2:00:58 PM5/12/03
to
So what did you do in the shell exe and batch scripts? Did you manually run gacutil.exe?
--
Phil Wilson [MVP Windows Installer]
----
"richard" <richard...@mapson.richardchandler.net> wrote in message
news:OEw5BcK...@TK2MSFTNGP12.phx.gbl...

Richard Chandler

unread,
May 13, 2003, 4:09:59 AM5/13/03
to
Unfortunately yes I do ... and I've just discovered this isn't installed by
the dotnetfx framework installer ... !

I'll now have to check the distribution rights to this utility and add .Net
version context sensetive code into my installation script.

Have I overlooked something simple here ... ?

It is bizarre that the easy to use GAC folder facility is provided quite
upfront by VS.Net but execution happens in the wrong order ... should I put
my service in the GAC too (surely not) ?

"Phil Wilson" <phil....@unisys.spamcom> wrote in message
news:%23y%23LzBLG...@TK2MSFTNGP12.phx.gbl...

Richard Chandler

unread,
May 13, 2003, 5:10:11 AM5/13/03
to
Hmm... came across one of your previous postings saying that the GAC doesn't
copy the original dll, this is where my problem is I think ... I was
concerned that I appeared to be copying the DLL to two locations on install,
as well as binding in two copies into the installer, so had removed the
explicit references to the DLLs in the Application Folder, but as the GAC
doesn't copy them, they need to exist on the machine.

Interestingly I was able to gac the assemblies then delete the original
files during the setup ...

I think I'm sorted now ... thanks.

R.

"Richard Chandler" <richard.cha...@mapson.monactive.com> wrote in
message news:OKFofdSG...@TK2MSFTNGP12.phx.gbl...

0 new messages