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
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