Help w/ a 2 step deployment

(imported topic written by N8R2_Christopher_Reed)

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.

(imported comment written by SystemAdmin)

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

(imported comment written by N8R2_Christopher_Reed)

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

(imported comment written by N8R2_Christopher_Reed)

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}

(imported comment written by N8R2_Christopher_Reed)

Any feed back?

(imported comment written by Justin-B)

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”

(imported comment written by N8R2_Christopher_Reed)

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.

(imported comment written by N8R2_Christopher_Reed)

The user got an error about interactive service detection when the second stage went.

(imported comment written by SystemAdmin)

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.

(imported comment written by SystemAdmin)

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.