Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setup project with custom actions

Status
Not open for further replies.

robert201

Programmer
Jul 18, 2007
80
TH
Hello,

VS 2005

I have created an web service project and added a MSI setup project.

I added my own custom action which is a windows exe that will allow the user to select their own virtual directory for installing the web service. This worked ok.

I remove the default installation dialog from the user interface, and have the windows exe in its place.

However, as the project installs it always installs in the default C:\intput\ directory.

The way my custom action works is that it will create a new virtual directory then move all the files from the default directory "C:\intpub\ to what the user has specified. However, this mean that the default directory still exists. So the last thing that the custom action will do is delete this directory. However, as the custom action DLL has been installed in this directory I am unable to delete it "Access Denied"

So the possible solution that I have, is it possible to stop the setup installing in the default directory and install in the user specified directory instead of copying the directory across?

Many thanks for your suggestions,

Steve
 
Hello,

Is there anyone who could offer any suggestions with this problem,

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top