Topic
  • 9 replies
  • Latest Post - ‏2012-06-29T13:05:26Z by SystemAdmin
N8R2_Christopher_Reed
8 Posts

Pinned topic Help w/ a 2 step deployment

‏2012-05-31T13:34:07Z |
I need some advice on exactly how to do this. All of my attempts thusfar have failed.

I am attempting to deploy a smart card validator.

The first step is to actually install the validator which is pretty straight forward:
DesktopValidator_4.11_SP2_x64-Release-Standard.exe /s /v/qn

The second step is where it gets tricky.
I need to run a command that the above .exe installs in a directory called C:\Program Files\Tumbleweed\Desktop Validator\

The command is basically going to take a file dvregistry.txt (which will be in the __download folder i guess )that I packaged with the install and run the command -command write -file dvregistry.txt in order to set the preferences so the user doesnt have any issues.

Any help on how to accomplish this would be appreciated.
  • SystemAdmin
    SystemAdmin
    2808 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-05-31T17:39:11Z  
    So I think what you need to do is to have the second action become relevant when the first action is completed. There are a few ways to do this but it all comes down to timing.

    I usually find that the entry into the Add/Remove programs is the last step in an install process, so if the relevance for the second action checks for that entry, you should be good. You could also have some type of flag file written in the last step of the 1st action.

    Does the dvregistry.txt get delivered in the 1st action or second? If it is in the first, you will have to move it somewhere else before that action completed.

    Now once you have the 2 fixlets, you can submit them together. In the execution tab, make sure you click the "Reapply this action" so that when the 2nd action checks the first time, it will be not relevant but the next cycle when the 1st action completes, the second becomes relevant.

    Does that answer what you are looking for?

    Martin Carnegie
    Gulf Breeze Software Partners
    http://www.gulfsoft.com
  • N8R2_Christopher_Reed
    8 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-04T10:53:45Z  
    So I think what you need to do is to have the second action become relevant when the first action is completed. There are a few ways to do this but it all comes down to timing.

    I usually find that the entry into the Add/Remove programs is the last step in an install process, so if the relevance for the second action checks for that entry, you should be good. You could also have some type of flag file written in the last step of the 1st action.

    Does the dvregistry.txt get delivered in the 1st action or second? If it is in the first, you will have to move it somewhere else before that action completed.

    Now once you have the 2 fixlets, you can submit them together. In the execution tab, make sure you click the "Reapply this action" so that when the 2nd action checks the first time, it will be not relevant but the next cycle when the 1st action completes, the second becomes relevant.

    Does that answer what you are looking for?

    Martin Carnegie
    Gulf Breeze Software Partners
    http://www.gulfsoft.com
    dvregistry.txt gets delivered in the second action. It has to be run after the install is complete. So how would I create a fixlet to run that command?
    If I create a second action how do I ensure the .txt file was delivered but still be able to trigger it with a totally separate command?
    dvconfig.exe -command write -file dvregistry.txt
  • N8R2_Christopher_Reed
    8 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-04T13:43:54Z  
    dvregistry.txt gets delivered in the second action. It has to be run after the install is complete. So how would I create a fixlet to run that command?
    If I create a second action how do I ensure the .txt file was delivered but still be able to trigger it with a totally separate command?
    dvconfig.exe -command write -file dvregistry.txt
    Did I write this wrong? the first step in the installation went fine, but it hung when it got to this..

    // enter your action script here
    wait "C:\Program Files\Tumbleweed\Desktop Validator\dvconfig.exe" -command write -file {(pathname of client folder of current site)dvregistry.txt}
  • N8R2_Christopher_Reed
    8 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-13T10:49:48Z  
    Any feed back?
  • Justin-B
    Justin-B
    3 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-21T18:43:32Z  
    I haven't test this but give it a try..
    wait "C:\Program Files\Tumbleweed\Desktop Validator\dvconfig.exe" -command write -file "{pathname of client folder of current site}\__Download\dvregistry.txt"
  • N8R2_Christopher_Reed
    8 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-22T13:25:53Z  
    • Justin-B
    • ‏2012-06-21T18:43:32Z
    I haven't test this but give it a try..
    wait "C:\Program Files\Tumbleweed\Desktop Validator\dvconfig.exe" -command write -file "{pathname of client folder of current site}\__Download\dvregistry.txt"
    It didnt work. It hung when running the second action wait "C:\Program Files\Tumbleweed\Desktop Validator\dvconfig.exe" -command write -file "{pathname of client folder of current site}\__Download\dvregistry.txt"

    I am so lost with this, for the life me I cannot get this work.
  • N8R2_Christopher_Reed
    8 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-22T13:33:06Z  
    It didnt work. It hung when running the second action wait "C:\Program Files\Tumbleweed\Desktop Validator\dvconfig.exe" -command write -file "{pathname of client folder of current site}\__Download\dvregistry.txt"

    I am so lost with this, for the life me I cannot get this work.
    The user got an error about interactive service detection when the second stage went.
  • SystemAdmin
    SystemAdmin
    2808 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-29T13:05:21Z  
    N8R2_Christopher_Reed,
    Here is what we used to push a Tumbleweed update
    wait "\\network\location\DesktopValidator-x64-Release-Standard.exe" /s /v /qn
    So that is exactly what you have

    You could always use a GPO to update the config files for Tumbleweed.
    Computer Configuration (Enabled)
    -Policies
    --Windows Settings
    ---Scripts
    ----Startup
    For this GPO, Script order: Not configuredName Parameters
    \\Network\Location\tumbleweed.bat

    The bat file might contain a line like this
    \\Network\Location\dvconfig.exe -command write -file dvregistry.txt

    Hopefully this is of some help.
  • SystemAdmin
    SystemAdmin
    2808 Posts

    Re: Help w/ a 2 step deployment

    ‏2012-06-29T13:05:26Z  
    N8R2_Christopher_Reed,
    Here is what we used to push a Tumbleweed update
    wait "\\network\location\DesktopValidator-x64-Release-Standard.exe" /s /v /qn
    So that is exactly what you have

    You could always use a GPO to update the config files for Tumbleweed.
    Computer Configuration (Enabled)
    -Policies
    --Windows Settings
    ---Scripts
    ----Startup
    For this GPO, Script order: Not configuredName Parameters
    \\Network\Location\tumbleweed.bat

    The bat file might contain a line like this
    \\Network\Location\dvconfig.exe -command write -file dvregistry.txt

    Hopefully this is of some help.