10-04-2009 09:45 PM
Hi All,
I have encountered some problems using workspace in test stand and i need some suggestions and recommendations:
Scenario:
I have created my workspace in such a way,
All the projects also sharing common vis which i dump in the user lib at the NI directory. Every project has his own directory and own unique VIs. Every project all has his own deployment file.
So i created three deployment package, namely project 1, project 2, & project 3.
I don't have a problem installing the package in individual PCs but when i try to install the three deployment packages in a single PC, then i hit a road block.
For example i installed project 1 and all the necessary files are already installed. And then i installed project 2. This is where the problem comes in. I check that all the files on project 2 are there but all the files for project 1 on its directory are all gone.
I am not sure what is causing this, i appreciate some comments on this.
Regards
Ray
Solved! Go to Solution.
10-05-2009 12:59 AM
hi,
are you saying that after you deploy project 2, all the files deployed from project1 have been removed from the target system?
What TestStand version are you using?
Regards
Ray Farmer
10-05-2009 01:06 AM
Hi Ray,
Yes. I believe that is the case. I'm using 4.1. Although every deployment works if i just install it alone in my production PC.
One more thing, after i saw that the files are gone, i reinstalled project 1, but i get an error message telling me that project 1 or a higher revision of project one is already installed.
10-06-2009 09:08 AM
Ray Balmeo -
The reason you are encountering this problem is because you are not updating the Upgrade Code for your installers. To get to the Upgrade Code, click the Advanced Options button under the Installer Options tab. This will launch the Advanced Installers Dialog box which contains the Upgrade Code field. The help for the Advanced Installers Dialog box says the following for the Upgrade Code.
Upgrade Code—Displays a string that uniquely identifies a related set of installers in Windows. Only one system, with a specific upgrade code, can be installed on a computer at a given time. An installer that has the same upgrade code and a higher version updates an older installation. The upgrade code corresponds to the [UpgradeCode] MSI property
Hope this helps!
10-06-2009 11:37 AM - edited 10-06-2009 11:38 AM
Ray Balmeo -
I wanted to clarify. You don't have to update the Upgrade Code for each build. You just have to make sure that you have a different Upgrade Code for your three separate TestStand Deployment (.tsd) files: Project 1.tsd, Project 2.tsd, Project 3.tsd.
10-12-2009 10:27 PM
Hi Manooch,
Thank you for the solution. It worked. I think the problem was caused by using the save as function for the deployment file. After i changed the code it worked beautifully.
How do i put a solved in this thread?
Regards
Ray