Installer questions

  • Thread starter Thread starter W Buckner
  • Start date Start date
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.
 
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.
 
=?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.
 
Back
Top