I have just finished writing a visual basic application (console app) and I want this to run on a different machine.
I went through publishing process (menu Build -> Publish application_name) which resulted in creating a folder in my desktop (for some reason when I try to publish the application in a folder in my program files it fails). Then, I clicked setup in the new folder and my application was installed in the target machine (I can start it through star menu and also uninstall it from windows programs).
However, I want this program to start automatically using task scheduler. On my developing machine I do this by targeting the .exe file in the folder .../project_name/obj/Release/project_name.exe.
My question is where the .exe file is located after the installation to the new machine?
Is it possible the application to be installed in program files (c:\program files\app_name) directly? And also to have some custom folders (for data storing) in the installation folder pre-installed?
Thank you in advance.