Groups | Blog | Home
all groups > visual studio .net setup > july 2005 >

visual studio .net setup : Could not find file autolaunch.installstate


Rajat Tandon
7/8/2005 12:00:00 AM
Hello there,

I created a MSI file and used the WsShell script to autolaunch an exe (which
is shipped within my MSI file). I set this script on the commit of "Custom
action editor" and set CustomActionData . I was successfully able to launch
the application, as soon as the installation was completed. Now "Norton
Internet Security" is giving warning with this windows script, so I have to
find an alternative.

If I try to add the cutom action in commit phase and give the path directly
to my exe file (which I want to launch and it is in application folder), It
gives me following error after installation is about to complete..
"Coule not find file
autolaunch.installstate"
autolaunch.exe is the name of the exe file which I am trying to run. I don't
have any clue about the installstate file and it's purpose. I don't have any
custom Installer class in my project. Do I need it ? If not then how should
I solve this issue

Please help me...

Regards,
Rajat.








unplug1.6
7/13/2007 2:20:19 PM
I found this solution to work when I was creating a Windows Service that
needed an installer...
http://unplug1dot6.blogspot.com/2007/07/could-not-find-file-installstate.
Aalok Bhatwal
8/5/2007 12:29:01 PM
In case if some one is still looking for the answer to this let me post what
I found out. I was also getting the error "Could not find file xyz.
installstate".

To avoid this problem try to attach the same custom action to "Install" that
you have attached to "commit". Unfortunately I do not know why that works
but when I carefully looked at the walkthroughs it looks like that is what
is suggested to be done.

Once I attached the same custom action to "Install" that I had done to
"Commit" my problem was solved.

Hope this helps.

AddThis Social Bookmark Button