Starting the VB.NET 2005 application after installation

I am using the built-in installation project. I tried the commit event in the installer, but it was fired before the installer exits, not after. Also I tried this guy code:

http://blogs.msdn.com/b/astebner/archive/2006/08/12/696833.aspx

Its goal is the same as mine, but when I try to run its code in the post-build event, it throws an error with an "unspecified error" ...

How to make the installer launch my application after installing it? You know, using the "Run after finish" checkbox.

It should be so simple .........

Broken

0
install
Jul 09 2018-12-12T00:
source share
1 answer

Well, they are right guy blog. I got it to work, and that is exactly what I was looking for. To find out what went wrong, I showed the output window (CTRL + ALT + O) and it showed the CScript output for the post build event when the script called it. It turns out that the .js files on my system were processed by Notepad ++, and I needed to change the connection with CScript for its script to work (CScript will not work with .vbs or .js files if this is not the default application for the file ... so stupid). I also had to disable Notepad ++ with .js files in the Notepad ++ settings, because it would return the file association when restarting Notepad ++.

+2
Jul 11 '12 at 17:59
source share



All Articles