07-20-2005 01:23 PM
07-21-2005 05:35 PM
Hi,
Have you tried to create a program item for the operator interface?
A Program Item is the closest thing to shortcut the current deployment utility supports.
You only have to go to the Deployed Files tab, select the specific file, check the 'Create Program Item' check box and give it a name.
This action will create a Windows Start Menu Item linked to the selected file.
Hope It Helps.
07-22-2005 11:59 AM
Hi,
I found a workaround that could work for you.
You can write a post.bat file to copy the shortcut created for your program item to wherever you want.
The only thing you have to do is to create the windows start menu item for your operator interface and include a post.bat file in your installer directory to copy the *.lnk file to the desired location.
The Post.bat file is executed immediatly after the installer finishes.
I am attaching a simple installer that installs the CVI simple operator interface and creates a shortcut for it in the Windows Start menu and on the Desktop.
I am only copying the file from the start menu to the desktop in the post file.
I hope it helps.
07-22-2005 07:05 PM
07-25-2005 10:19 AM
post.bat
exists in the same directory as setup.exe
. If the post.bat
file does exist, then the installer runs post.bat
. 07-25-2005 10:45 AM
Hi Nandhini,
Yes, the post.bat file is in the installer directoty ( same folder as setup.exe ). First I created the installer in the folder "App Installer", Then I copied the post.bat from my project folder to this folder and double clicked on the setup.exe to install my application. I did not get the post.bat file executed.
Then I added the post.bat in the custom commands tab while creating the installer. Now it works well.
Thanks,
Senthilnathan A.
07-25-2005 04:03 PM
Hi,
If you generate the installer and copy the post.bat file to the same directory where the setup.exe resides the bat file is executed automatically.
Take a look to the example I attached in my last post.
Best Regards.