[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

W Buckner

7/1/2008 9:10:00 PM

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.
2 Answers

Ciaran O''Donnell

7/4/2008 9:46:00 PM

0

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.


--
Ciaran O''Donnell
http://wannabedeveloper.space...


"W Buckner" wrote:

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

W Buckner

7/17/2008 8:34:00 PM

0

=?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=
<CiaranODonnell@discussions.microsoft.com> wrote in
news:DA6014E1-79F7-4179-B807-3B3FF63D4689@microsoft.com:

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