Visual Studio 2008 web setup

Author
Discussion

shocker-z

Original Poster:

554 posts

219 months

Thursday 10th April 2008
quotequote all
Hi all,

I'm creating a web setup routine for a project that I’ve created; it's been created in ASP.NET 2.0 for compatibility reasons.

However, ASP.NET 2.0 can't run in the same application pool as ASP.NET 1.0 or 1.1.

So my solution was to use System.DirectoryServices to create an application pool (used code from MSDN) this works perfect and I’ve compiled this to a VB.NET command line program.

What I need to do is run this vb.net command executable before the installer starts.

How can I cause this to be done before it show's the options asking which app pool to put the vdir in?

Regards
Liam

malman

2,258 posts

260 months

Thursday 10th April 2008
quotequote all
if its not possible to run a .exe at the begining of the installer then just write a small .exe that calls your vb .exe then calls the current setup exe.


our guys used to use install shield as it was more flexible for running extra stuff but they haven't used 2008 yet

Edited by malman on Thursday 10th April 12:43

shocker-z

Original Poster:

554 posts

219 months

Thursday 10th April 2008
quotequote all
Cheers mate,

Great Idea, that will definatly do the trick for me smile

Yeah 2008 hasn't got too much more stuff but it does allow you to select what Virtual website and application pool to use, which is very handy as any server with sharepoint does it however the hell sharepoint wants! lol

We're thinking of buying Install shield too, not sure on pricing. Think my director is realising how expencive software is now that we've gone from 1 senior programmer to 3 programmers. Just orded 2 Adobe CS3 Web Premium suites and 3 VS 2008 suites... Totalled at just over £5k and 3 PCs on top to support the software decently! lol Got another £1,600 for another copy of CS3 yet too. So with install shield i guess we're going on £10,000 mark.

I love my new tools smile

Liam

malman

2,258 posts

260 months

Thursday 10th April 2008
quotequote all
ahh bit late now but you could have had a word with Microsoft about becoming a partner. I don't think you get the dev tools by signing up to the action pack but if you become a certified or gold partner you get some licences for VS plus loads of other stuff (MSDN subscription). They come in handy for dev testing on servers etc.


Might still be worth looking into if you keep expanding smile

shocker-z

Original Poster:

554 posts

219 months

Thursday 10th April 2008
quotequote all
Well the company i work for is part of West Nottinghamshire College so we can get hold of all the MSDN stuff. Just need stuff like this for production as the software is installed at over 1500 other companies.

Liam