Software deployment

(imported topic written by eenglish)

Hi all,

We are looking to deploy an application that needs to see a registry key before the install runs. I am not sure how to add the registry key before the installation runs.

The file is a .msi install …just wondering if anyone could shed some light on that.

Here are the steps that the install needs:

-Create HKLM\software registry key

-Once reg key is created then execute msi file

Any help on this would be great.

Thanks,

Evan

(imported comment written by BenKus)

Hey Evan,

You can edit the action to add a line like this before the action runs:

regset “HKEY_LOCAL_MACHINE\Software\Test” “Test1”=“1”

Ben

(imported comment written by sonny.mcmanigle91)

Evan… also… in your script just write an if endif clause something like this:

if {exists “Test1” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Test” of registry}

endif