Installer questions

W

W Buckner

I created a custom installer for my web service project. It simply copies
the web.config file from the setup.exe location into the webservice
directory. It seems to be working fine. When the uninstall is run all files
are removed. So it works.

Question: Why is the installstate file in the web service directory? Is
this normal? It is removed when the uninstall is run.

Question: my installer dll (i.e. myinstall.dll) is copied to the \bin
directory. It is only needed during installation. Is there a way to get rid
of it after installation? Will this cause problems? It is removed when the
uninstall is run.
 
C

Ciaran O''Donnell

Q1, This is used by the installer to record start for rollback and uninstall
i believe.
Q2, the file has to extracted to the install folder in order to be loaded
for the installer classes to be invoked. I think the only way to remove this
is with a seperate batch file style AfterInstall custom action. For most apps
it wont make a difference but for a web app I think it will be loaded due to
its precense in the bin folder.
 
W

W Buckner

=?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=
Q1, This is used by the installer to record start for rollback and
uninstall i believe.
Q2, the file has to extracted to the install folder in order to be
loaded for the installer classes to be invoked. I think the only way
to remove this is with a seperate batch file style AfterInstall custom
action. For most apps it wont make a difference but for a web app I
think it will be loaded due to its precense in the bin folder.

Thanks for your response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top