NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How deploy Dll's from TestStand

Hi
 
I have an appliction in which i have developed two DLL's.
 
Now i want to use that Test Stand and Deploy the Two dll
into some destination folder.
 
How can i buid an installer  using the test stand
Deploy option.
 
Can any one Guide me
 
Regards
rags
 
0 Kudos
Message 1 of 8
(3,905 Views)
Rags,
 
Are you familiar with the Deployment Utility?
Are you using the Dll's as code modules?
If you only want to distribute the Dll's follow the following steps:
1. Create a workspace. (File->New Workspace File).
2. Insert a new project into the workspace.
3. Add the dll's to the project (Add Files).
4. Save the workspace.
5. Launch the deployment utility. (Tools->Deploy TestStand system)
6. On the system source tab check the 'Deploy System from TestStand workspace file' box.
7. Browse for the workspace you create in step 1.
8. Go to the Distributed Files tab.
9. You will get a prompt asking whether you want to analyze your source. Click on Yes.
10. You can alternate between the view source and view destination option.
11. Select one of your dll's and chage installation directory as desired.
12. Go to the Installer options tab and change the default installation base directory as needed.
13. Build the installer.
 
To learn more about the deployment utility refer to chapter 14 of the Testand reference manual.
 
Hope it helps. 
 
Antonio Lie.
 
0 Kudos
Message 2 of 8
(3,899 Views)

 Hi Antonio Lie

Thank you for the reply. I followed the same procedure as you have suggested

but i am stuck up with another issue, i am not able to specify the destination directory

where my dll needs to be installed.In the option "Default Installation Base Directory"

there is no option to specify the Directory where i need to install

Could you please let me know.

Regards

rags

0 Kudos
Message 3 of 8
(3,866 Views)

rags,

What is your default installation base directory?
You can select the windows volume directory and specify the rest of the path as the default Installation subdirectory.
The default installation base directory can be modified while executing the installer (if you do not check the 'Do Not ask User for Installation Directory' box)

Regards.

Antonio.

0 Kudos
Message 4 of 8
(3,858 Views)
HI Antonio
 
Thank you for the reply, i made the required changes , the installer is working fine, i would like to know
now  can i add another labview VI that would modify the INI file in another folder. can the installer
place two dll's in a folder & also modify the existing ini file,in a different folder. is this possible.
 
can you guide me to achive the above mentioned.
 
regards
rags
0 Kudos
Message 5 of 8
(3,842 Views)

Rags,

What INI file are you talking about?
Could you be more explicit?

Regards.

0 Kudos
Message 6 of 8
(3,834 Views)

Hi Antonio.

Basically the objective of the installer is:

job 1: copy 2 dll's into specified folder(which we have done)

job 2: appened or modify, a configuration file if existing, else copy the configuration file in the specified folder

these are the two things, that the installer needs to do.

for job 2 , i have written a code in labview.

while creating the installer i want to call both job 1 and job 2.

At the end when i run my setup created by i want to acheive Job1 & 2.

i hope you have a idea of what i need to do

 

regards

rags

 

0 Kudos
Message 7 of 8
(3,807 Views)

rags,

In order to accomplish job 2 you can use a custom command.

1. In the deployment utility dialog go tho the Installer Options tab
2. Click on the 'Custom Commands' button
3. Add a new command
4. Select 'Installer Executable Directory' as the command directory
5. Add the name of your exe (the exec reated in LabVIEW) in the 'command and argument' box.
6. Build the installer.
7. Once you build it, copy your exe to the installer folder (same directory where setup.exe is located).
8. The custom command will be executed as part of the installer execution.

Hope it helps.

 

Message Edited by Antonio Lie (NI) on 10-15-2007 08:30 AM

0 Kudos
Message 8 of 8
(3,800 Views)