all groups > visual studio .net setup > april 2006 >
You're in the

visual studio .net setup

group:

Why the .InstallState files are created?


Why the .InstallState files are created? vsr
4/10/2006 8:34:01 AM
visual studio .net setup:
I am using setup to deploy components , i deploying these in GAC and also
Installing them using custom option "Install" , everything is looking good
but the ".InstallState" files are getting created when i deploy it , how to
avoid these files? i tried setting the option "InstallState" to fale in
properties but its giving mention "EntryPoint" error.Can anyone have
Re: Why the .InstallState files are created? Phil Wilson
4/10/2006 1:29:21 PM
You're running some kind of managed code custom action? Do you have Install,
Uninstall, Commit and Rollback custom actions too?
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Re: Why the .InstallState files are created? vsr
4/10/2006 1:42:02 PM
Yes, I have Install and Uninstall custom actions.there is no install code i
have written , i just added components to Install and UnInstall Custom
Actions.

[quoted text, click to view]
Re: Why the .InstallState files are created? Phil Wilson
4/11/2006 8:42:29 AM
Those files are othing to do with Windows Installer or MSI files - they get
created by those installer classes, so MSI doesn't know about them. See if
it makes a difference if you add the Commit and Rollback custom actions. In
particular, be sure that you are calling the base methods in your custom
actions - base.Install(), base.Uninstall().

--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

Re: Why the .InstallState files are created? vsr
4/11/2006 10:20:02 AM
I tried Commit and Rollback but its giving the error while installing...
An Exception Occured during the commit phase of the installation. where to
iclude the base methods base.Install(), base.Uninstall()? i am not writing
installation code... do we need to write the installation code for this?

[quoted text, click to view]
AddThis Social Bookmark Button