Click here to Skip to main content
15,124,736 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I use windows server 2008r2 server and iis7

I created an msi installer containing two .net once the setup is installed it would create two virtual directories in iis from where i would access the applications. For restoring the database of these applications i created a batch file that would trigger a file xxx.sql which contains the restore database commands.I have created the setup in such a way that once installation is done the batch file would be placed in user's desktop so that he can run the file to restore Database.

but i need a solution wherein the batch file should not be manually run by the user. It should also get restored as a part of installation process and right now i am restoring it on my local server. i need to have a wizard in my msi installer that would ask the user for his credentials,name of the server where it should get restored and once user enters these details and clicks next it should restore database onto the server where user has mentioned.

Pls help me out with this problem...
Any help will be appreciated greatly
Thanks in advance
Unfortunately, all this just makes no sense. You problem is that you are mixing you ideas on what you what to get, with your very naive ideas on how to make it. It makes the question inconsistent. First of all, explain the functionality you want, not mentioning how. Forget about bath files, etc., it would not make any sense anyway...
joe_j 11-Jan-13 4:03am
how about autostart the batch file after the MSI installation and prompt the user for the credentials?

1 solution

Hi there

I suggest you might need to use the post install actions (in Install Shield Limited Edition which comes with the VS 2010). Ask the +The mighty Mister G.+.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900