TestStand Deployment Not Installing Files

TestStand 3.1
We have created a custom OI and Process Model and we have attempted to
create an installer using the TestStand Deployment Utility.  The
problem is that when the installer is first run on the target system,
some files are not being installed.  We had a similar problem with
the Distribution Kit functiontionality of CVI 6, and were never able to
fully resolve the issue.
Basically the installer examines files that already exist on the target
machine and will not overwrite them if they have been modified. 
The installer is smart enough to examine version numbers inherent to
DLLs and EXE files (and adding REINSTALLMODE=amus to setup.ini causes
these types of files to always be overwritten).  However, for
other files such as *.ini and *.seq files, there seems to be no way to
force the installer to overwrite these files.
The workaround that we used previously was to run the installer 3 times
(once to install, once to uninstall which deletes all files including
the old versions that were not overwritten, and then once to actually
install the desired files).  Is there a way around this with the
TestStand Deployment Utility?  We are actually considering
bypassing the installer altogether and just copying the files in the
image directory that the Deployment Utility creates.
Thanks,
Peter

Hi Peter,
Thanks for the information. I am not sure if the installer will recognize the sequence file version number. Are you deploying a Process Model from the NI folder, or have you copied it into the User folder? Are you adding the Process Model and INI files to a project in your workspace and deploying the workspace or are you deploying them by selecting to Deploy Files in TestStand User Directories on the System Source tab of the Deployment Utility?
In other words, what file specifically are not being installed correctly? What is their path on the development machine and what is the target path?
One last question, if the target is a new system and has not had a TestStand test system deployed to it, how does it have sequence and TestStand INI files on it already? Are you installing TestStand on the target machine before deploying a test system?
Regards,
Eric M

Similar Messages

  • Deploying not *.class files

    Greetings:
    I have a web project where I use Velocity templates. My *.vm files are located in a subdirectory called templates inside adfmsrc folder. Consequently, we could say that they are in templates package. However, when I tried call these VM files I got a ResourceNotFoundException. Analyzing the directory where my web application was deployed ( C:/Oracle/Middleware/jdeveloper/system11.1.1.6.38.62.29/o.j2ee/drs/MyWebApp ) I saw that templates folder and its VM files are not in WEB-INF/classes. My conclusion was that JDeveloper was not deploying templates package. In Project properties dialog I went to Project Source Paths -> Resources, Included tab and added adfmsrc/templates subfolder. But even then it did not work. Does someone have a beter suggestion?
    Thanks,
    Rafael Afonso

    Actually, it is necessary go to Project Properties -> Compiler and add .vm extension in fileld Copy Files Types to Output Directory.
    Thanks.

  • SCCM image deployment not installing NIC drivers

    Hello, I am seeing an issue when I go to image a new Dell Optiplex 3020 x64 Win 7.  I have imported the CAB file and extracted all the drivers from dell.  At the beginning of the task sequence I can open a command prompt and see it has an address
    using ipconfig.  Then it applies drivers and joins the domain.  After it restarts it no longer has an ip address according to ipconfig.  I have logged into the machine after it fails the task sequence (error 80070002), installed the driver and
    joined the domain with no problems so I don't think it is the driver.  I am fairly new to this process and I am using images and sequences built by someone else that have worked until now.  Any help is greatly appreciated  thanks. 
    SCCM 3.0 version 6.1

    Hi,
    The reason for this is most likely that you have the NIC driver in Windows PE, but not in Windows. After the "Setup Windows and ConfigMgr" step in the Task Sequence, the computer will reboot from Windows PE to Windows, thus requiring a NIC driver for Windows.
    For this to work, you should have a driver package that is applied before that step in the task sequence. Have you created a driver package for that model and if so, is it applied?
    Blog: www.danielclasson.com/blog |
    LinkedIn:
    Daniel Classon | Twitter: @danielclasson

  • Download of firefox and adobe flash will not install file corrupt message

    cannot install firefox or adobe flash get file corrupt message:
    cannot play videos

    Try installing from the Offline Installer. It may be a temporary folder permissions error, so this may fix it. Here is a link to try to download from:
    http://download.macromedia.com/pub/flashplayer/current/support/install_flash_player.exe
    If that doesn't work, try this one: http://www.filehippo.com/download_flashplayer_firefox/
    Let me know if this works!

  • Network driver in target deployment not installing

    Hi
    I have SCCM 2012 R2 CU1 with MDT 2013
    I managed somehow create and capture image. Now I am trying to deploy windows 7 Sp1. I have Lenovo driver package assigned to TS, not PNP. WinPE see correct driver, but after Setup Windows and Configuration Manager I not see in bacground image while TS continues
    (just empty MAC and IP). WinPE is from WADK for Win8.1.

    I think that the NDIS versions map to the following Windows versions:
    NDIS 6.2 is for Windows 7
    NDIS 6.3 is for Windows 8/Windows Server 2012
    NDIS 6.4 is for Windows 8.1/Windows Server 2012 R2
    So if you are trying to deploy Windows 7, I would go with the NDIS 6.2 driver only, so delete the other ones. Remember that you need 32 bit drivers for 32 bit os and 64 bit drivers for 64 bit os.

  • I cannot download Google or Yahoo toolbars. It says Firefox could not install file there is an error 203, what does this mean and what can I do to fix it?

    I have Firefox 3.6.16, I upgraded to Firefox 4 but there were many conflicts with Kaspersky so went back to 3.6.16 which is fine but I cannot get Google nor Yahoo toolbars to load. I have tried several times and the same thing happens. I have another computer that I did the same thing with but both toolbars loaded on it.

    See:
    *[[Unexpected installation error -203 when installing add-ons]]
    * http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox

  • Assessing Command 'Analyze Source Files' via Command Line when running TestSTand Deployment Utility

    Our Software Configuration Manager is running the TestStand Command Line Deployment Build Tool (Ref: https://decibel.ni.com/content/docs/DOC-38947).
            When he builds the application,  the code will not be at the same location it was in development. 
    If you are Manually running the TestStand Deployment Utility, This is not a problem because everything is relative in the workspace.   Simply go to the Distributed Files Tab (of TestSTand Deployment Utility) and hit the, "Analyze Source Files" button.  This finds the required files and apparently creates an updated hard path to be used during the build (probably in the *.tsd).
    PROBLEM:  We auto-run the Command Line Deployment Build Tool (Command Line), and we do not have access to the, 'Analyze Source Files' command.
                As a result, our build consist of many warnings and the output is missing many files (the location of the files have not been updated).
    If we could access the 'Analyze Source Files' Command via command line, that would fix the issue. 
    FYI:  We use an automatic builder called Quick Build as our builder.
    Attachments:
    TestSTand Deployment Utility-Distributed Files Tab.PNG ‏76 KB

    Unfortunately it looks like Analyze Source Files does not have a command equivalent for the command line based on this article and attached PDF:
    https://decibel.ni.com/content/docs/DOC-38947
    That may be a good post for the TestStand Idea Exchange for consideration in future versions of TestStand.
    Michael K.

  • TestStand deployment does not install LabView on WinXp SP1

    I have built a TestStand 3.1 deployment that installs correctly on Windows XP SP2. However, when I install the same deployment on Windows XP SP1, it does not seem to get the LabView runtime installed correctly. LabView does not show up on the Start menu, and attempting to load any .seq files that use .vis lead to an error message about not being able to start the LabView ActiveX server.
    Any ideas what could cause this? I found the FAQ about running dcomcnfg.exe, and, of course LabView is not listed as a DCOM application on the Win XP SP1, but it is OK on Win XP SP2. That still doesn't tell me why it isn't loading - it just confirms that it isn't.
    Thanks and regards,
    Ed Kuzemchak
    Software Design Solutions, Inc.

    LabVIEW development system is the only thing that shows up in the start menu; the runtime engine does not have an entry there. Based on your messages I'll bet you have LabVIEW installed on your SP2 machine but not installed on the SP1 machine.
    Did you set the LabVIEW module adaptor to use the runtime engine instead of the development system?

  • Deployment Utility - log file errors/warnings not clear

    Hi,
    I'm doing my first deployment and have few questions:
    1) I tried to deploy ONLY the TS user directories. I checked the 'Deploy Files in TestStand User Directories' option and did not check 'Install TestStand Engine' since I deploy it into a system with TS3.0+CVI7.0 software(same as the source).
    The process was successful by I get the following warnings in the log file.
    Starting Log.
    Building...
    5:47 PM
    An installer is being created.
    The installer is finished
    The build process is done.
    5:48 PM
    Warning: You may need to add any sequence files referenced by the following expressions:
    "reportgen_" + RunState.Root.Locals.ReportOptions.Format + ".seq" in step 'Process Step Result', sequence 'SequenceFilePostResultListEntry', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "reportgen_" + RunState.Root.Locals.ReportOptions.Format + ".seq" in step 'Process Step Result', sequence 'ProcessModelPostResultListEntry', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Get Report Footer', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Get Report Header', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Get Report Body (Sequence)', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    "ReportGen_" + Parameters.ReportOptions.Format + ".seq" in step 'Set Report Disabled Message', sequence 'TestReport', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    RunState.ProcessModelClient in step 'MainSequence Callback', sequence 'Single Pass', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    RunState.ProcessModelClient in step 'MainSequence Callback', sequence 'Test UUTs', sequence file 'C:\Program Files\National Instruments\TestStand 3.0\Components\User\Models\TELRAD_SequentialModel.seq'
    +++++++++++++++++++++++++++++++++++++++
    What does it mean? What to do about it?
    2) The utility does not include the cfg/TypePalettes where I have a my own file.
    Is there a reason to it? Do I need to include it manually?
    3) When I included workspace in the utility I get the following errors:
    Starting Log.
    Processing Workspace...
    Done processing workspace file
    +++++++++++++++++++++++++++++++++++++++
    Processing Workspace...
    Done processing workspace file
    Building...
    6:08 PM
    Error could not open LabVIEW
    Distributing VIs requires the LabVIEW Development System
    Class not registered
    in TestStand - Get LV Reference.vi->TestStand - Package VIs.vi->TestStand - Build.vi->TestStand - Distribution Wizard GUI.vi->TestStand - Deployment Utility Splash Screen.vi
    An installer was not created due to an error
    The build process is done.
    6:08 PM
    Error Code:-2147221164
    Class not registered
    in TestStand - Get LV Reference.vi->TestStand - Package VIs.vi->TestStand - Build.vi->TestStand - Distribution Wizard GUI.vi->TestStand - Deployment Utility Splash Screen.vi
    +++++++++++++++++++++++++++++++++++++++
    In order to eliminate the problem source I un-checked the files presented by the 'Analyze Source Files' until all of them are un-checked. Even in that case I get the error message.
    What does the message mean?
    What to do about it?
    I don't use any LV in my system!!!!!
    Thanks and my apology for the long message
    Rafi

    Hi Rafi,
    On #1 the warnings appear whenever you have an expression that specifies a sequence file because many expressions are not valid until runtime, you can ignore it as long as ALL sequences that expression may evaluate to are included in the Workspace.
    >2) The utility does not include the cfg/TypePalettes where I have a my own file.
    >Is there a reason to it? Do I need to include it manually?
    No it does not include it because it is not needed unless you plan to edit on the deployed sequence (generally not recommended). If you add a custom type to a sequence the sequence file will have a copy of the type. You can include the types palettes manually in the workspace if desired.
    >3) When I included workspace in the utility I get the following errors:
    >What does the message mean?
    The deployment utility thinks you have a VI to deploy, it is trying to load LabVIEW and failing because LabVIEW is not installed.
    >What to do about it? I don't use any LV in my system!!!!!
    Somewhere there is a .vi or .llb in the system. Find the VI(s) and uncheck them. I did find a bug that the deployment utility caches the flag indicating if a VI is present, but it is easily worked around: Save a tsd file, Press the New button and then reload the tsd.
    -Rick Francis

  • Deployment utility gives file not found warning, but build completes succesfully.

    When running the deployment utility, I am able to analyze source files successfully; no problems there.  When I go to build, all appears to go well until I click the popup that has the message: "The build is finished."  After closing the popup, I get the following warning:
    "Warning: This problem will cause an error when building a deployable image or an installer. The following file(s) were not found:"
    It's followed by a list of dozens of files.  However, I verified that all files are included in the search directories.
    I installed the deployment as-is and it seems to run ok; it finds the files it's supposed to.  However, I'm going to have a hard time selling this procedure off to QA if the deployment shows a 'file not found' message.
    My question is: why do I get the 'file not found' warning during the deployment build process, yet the 'analyze source file' step finishes ok and the deployed files work ok?

      These files are all relative and are part of the workspace.  I did find a
    workaround to the problem.
    In the search directories selection box, the top-level entry is "Current
    sequence file" with subdir search enabled.  The next entry is the workspace
    directory with subdir search enabled; all files are in subdirs of the
    workspace directory.  The remaining entries are unchecked or not
    user-defined (ie.: other NI directories on my computer).  In order for the
    deployment to work, I had to enable the third entry on the list: "Initial
    directory" along with subdir enabled.  However, the initial directory is
    the same as the workspace directory (since I opened teststand by
    double-clicking on my .tsw file).  What I don't understand is why should it
    matter that I have initial directory on the path if it's the same as the
    entry before it?

  • Error_42_Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.

    Has anyone encountered this error.
    I am developing on SP 2010 with VS 2010.
    I was following an online tutorial: How to use custom form templates in NewForm.aspx/EditForm.aspx  located at:
    http://sharepointbox.blogspot.co.at/2010/11/how-to-use-custom-form-templates-in.html
    The tutorial was a little lacking on some of the direction, but it included the working source code, and I managed to complete it.
    Every time I try to deploy my version I get the error: Error 42 Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.
    I have gone through my code line by line and matched it to the working code from the tutorial, so I can only assume that I am missing something in the Procedure to properly deploy.
    Any help is greatly Appreciated! 

    It seems that something went wrong with your custom field type installation. Check below line in .xml file of your custom field type and correct it if needed.
    <Field Name="FieldTypeClass">DocumentFieldType.DocumentFieldTypeClassName, DocumentFieldType, Version=1.0.0.0, Culture=neutral, PublicKeyToken=379382f3e8928835</Field>
    Please recheck respective values of namespace.classname , dllname. and publickeytoken in your code
    Thanks. Please mark it as an answer if it helps.

  • Error occurred in deployment step 'Activate Features': Feature with Id 'GUID' is not installed in this farm, and cannot be added to this scope.

    Really frustrated!!! Using SP 2010 with VS 2010. Created a simple project with just 1 elements.xml file for adding 2 columns. Scope of the feature is "Site". When I right click and deploy it gives below error.
    Error occurred in deployment step 'Activate Features': Feature with Id 'GUID' is not installed in this farm, and cannot be added to this scope.
    If I look at the CA, I see the wsp is installed but NOT deployed (Status = "Not Deployed", "Deployed To" = None). I have checked the GUID in the error and its my feature id.
    Please let me know what is going wrong here! Thanks for your help.
    Please mark as 'Propose as Answer' or 'Vote' as appropriate.

    Hi Sagir,
    Try to check the GUID in error message to see if it’s in Feature1.Template.xml file.
    For more information, please refer to
    http://markviky.blogspot.com/2010/09/error-while-activating-feature.html
    http://alltoft.wordpress.com/2011/06/13/sp2010-error-occurred-in-deployment-step-activate-features/
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Deploy Web Site Error:Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies

    I have created a ASP.NET web Site (not Web application), using Visual Studio 2012 Ultimate and "SQL Server Compact 4.0 Local Database" in my C# Code.
    I am able to successfully compile & publish the website to another IIS Web Server, with Operating System Windows Server 2008 R2 Standard. I can even test, successfully, this website on the machine I developed it in.
    I am publishing the website, from within Visual Studio, to a Network web server running IIS.  To Publish I am using Build-> "Publish Web Site".  In the Publish Profile, I am using Web Deploy Method. Even though I am using, successfully,
    "SQL Server Compact 4.0 Local Database" in my website, the "settings" (in Publish Profile) does not detect any Databases in the project. Which may not be a problem.
    When I try to bring up the web site on the IIS Web Server machine I get the following error..    
    Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies .
    As my project is a Web Site, not Web Site Application, I do not have a references node in the Solution Explorer. I think the System.Data.SqlServerCe.dll, which is type GAC in my project, is not getting published to the webserver, which is causing this Error.
    Can I copy this .dll over manually ? If yes, where to put on the ISS Web Server ? I do not see any bin folder.
    Any help to resolve this error will be appreciated.
    diana4

    Hello.. I went ahead and created web application project and have gone past that error. But I have a new error now
    System.Data.SqlServerCe.SqlCeException: Unable to load the native components of
    SQL Server Compact corresponding to the ADO.NET provider of version 8876.
    Install the correct version of SQL Server Compact. Refer to KB article 974247
    for more details.
    Compiling and Publishing (Deployment) are both successful 
    In my project, when adding reference to SQL Server Compact Edition , there are 2 possible locations to reference the DDL from:
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Private
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Desktop.
    I have tried both. I get the same error as shown above.
    Interestingly, in My WebConfig, I do not see any reference to System.Data.SqlServerCe.
    Yet, the Website works when I click on Ctrl+F5 
    diana4

  • When deploying an ear file the status is not loaded

    I have installed Oracle application server 10g on a Linux CentOS 4.6 server.
    When I went to deploy an ear file, it was a success; however, the status in the application at OC4J:home indicates "Not Loaded" and auto start is true. I have searched every where and cannot find the cause of this problem.
    The development server on a windows machines works fine when the same file is deplyoed.
    Does anyone know what might be the cause. Is there something that I have to configure that I am not aware of?
    Any help would be appreciated. Been working on this for two days.
    TIA
    Mike

    Hi, thanks for the response. I have over 20 EJBs in my ear file. I tried to use the verifier and here is the message that I am getting once I tried to deploy my ear file.
    Error
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: account cause: Error parsing J2EE-specific application deployment descriptor: Element type "application" is not declared.
    I checked my application.xml and it looks fine to me. please help.

  • Could not load file or assembly issue with SSAS Deployment Wizard

    Hi
    I am getting an error when trying to update 'Data Source Connection Strings' under 'Specify Configuration Properties' of the SSAS Deployment Wizard.
    Unhandled exception occurred: Could not load file or assembly 'Microsoft.VisualStudio.Data, Version=8.0.0.0 ...
    Well, it used to be 'version = 10.0.0.0. It changed to version 8 after trying to fix it for hours by googling and so on.
    I just can not make it work. I really need to make it work as I need to use the deployment wizard to deploy the project to the production server. (Looks like this is the only way as the server is not part of domain, just a standalone server hosted on a cloud).
    on top of my head, I remember installing everything under SQL2012 DVD  D:\redist\VSTA.
    Visit Micirosoft site and download components and so on..
    I have two other servers, one with SQL2008R@ and SQL2012. Both are ok. But this server which I want to use it as the production server is causing me an issue. ah...  I can not make it work. Please help me!
    Kind regards

    Hi Dustin
    You do  not need to be concerned if your app references 32 or 64 bit assemblies. VS being 32 bit, needs to reference 32 bit assemblies in order to compile correctly. Thus running the app from the VS IDE, you wil be using 32 bit assemblies. Using a compiled exe or a DLL, the app will use 32 bit or 64 bit assemblies depending on how the app was compiled and "bitness" of the OS.
    E.g;; an app compiled as 32 bit will require 32 bit assemblies
    An app compiled as 64 bit will run 64 bit assemblies - on 64 bit OS only.
    An app compiled as "Any CPU", will run 32 b it or 64 bit assemblies, depending on the OS. On a 64 bit OS, the app will by definition use 64 bit assemblies (but it is up to you to deploy the 64 bit runtime - not the 32 bit runtime). On a 32 bit OS the app will use 32 bit assemblies.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • No sound captured during Capture Now

    First time in many moons using FCP. I'm capturing from a mini DV (Canon Eulura 70) using the Capture Now function. The problem is that it appears that no sound is being captured. I've read other posts about not hearing sound during capture... at the

  • Compressor crash when trying to send a task with watermark

    Hello, I use Compressor without problem except when i try to add a watermark on my movie. It crash without sending the job. My watermark is a TGA file with an alpha channel. I haven't find any solution until now... Thank you for your help.

  • Unable to open PDF Files with adobe reader VI

    I have downloaded the latest version of Adobe Reader VI I am still not able to open PDF Files. When I click on the file I get a blank window with a  little black box inside a White X!    This black box appears  in the upper left hand corner of the bl

  • Installing oracle 9i on RHEL 5

    Could someone share a document for installing oracle 9i on RHEL 5? Any help? Thanks in advance

  • Multiple classification In Class Type 023(Batch Class)

    Dear All, I  like to do a multiple classification in Class Type 023(Batch Class) but in Configuration System not allowed to do any change in MCHA Object for multiple Classification So pls give me a suggestion. Regards, Murari Shah