LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create new folders while installing the VI in some other PC

Hi,
 
     I want to create a folder while installing the VI to some other maching using installer/setup.exe and also i want to copy some excel file to the c: drive of installing PC while installing is their anyway to do this. Please help me in this regards
 
Regards
Shivakumar Singh
 
0 Kudos
Message 1 of 4
(2,681 Views)

Hi Shivakumar

I think you can do it in at least two ways:

1. In the application builder, in the tab Source Files, you will find a button "Custom Destinations...". That will allow you to copy some of the files you have added previously by "" Add Support File.." button.

2. In the Installer Setting tab, try to play with the "Advanced Installer Settin" dialog. You will find the "Run Executable after installation". Here you can run your own script (*.cmd) and copy, create directories, etc.

 

hope it helps

cheers

Pawel

 

0 Kudos
Message 2 of 4
(2,676 Views)
Hi,
 
   Powel, thanks for your reply. I want to know how to add exe file to the "Run Executable after installation".  I want to copy one folder which will be in CD-ROM in which setup.exe also exist, this i want to do  while installing the set up file. Is their any way to do this. I found that each PC will have given its different directory names for the CDROM drive like F:\, G:\ etc, then by which directory drive i should copy the folders and files form CDROM to c:\ drive of the installing PC. Please help me in this regards.
 
Regards
Shivakumar Singh
0 Kudos
Message 3 of 4
(2,672 Views)
Hi
If you are installing vi from CD, then you might use the first approach with application builder.
 
If you just want to use any CD, than I think you should consider some interactive script with the user.
You can easily creat one with the windows commands, by means of *.cmd files. You can read about it by typing "help cmd" and/or "help" in the RUN in Windows. Then I propose to search the web for some examples on how to write the cmd scripts. If you know TCL there will be no problem for you.
 
You can also try to ask some dudes on the WinNT newsgroup. They will write it in no time.
 
Unfortunatelly I have now no time to write the script for you.
 
 
good luck
Pawel
 
Message 4 of 4
(2,660 Views)