Visual Studio 2008 web setup
Discussion
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
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
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
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
Cheers mate,
Great Idea, that will definatly do the trick for me
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
Liam
Great Idea, that will definatly do the trick for me
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
Liam
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
Might still be worth looking into if you keep expanding
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff