Secure Client NGX R60
Hi
Secure Client NGX R60. I've created a package with transform file to copy the Userc.C to C:\Program Files\Check Point\Database. However when the install completed I checked to see if the site has been created. The site didn't get created, is there any way to add the site to the package?? I've already have the MSI for Secure Client NGX R60 and I need to deploy this package to 70 laptops.
Thanks
Secure Client NGX R60. I've created a package with transform file to copy the Userc.C to C:\Program Files\Check Point\Database. However when the install completed I checked to see if the site has been created. The site didn't get created, is there any way to add the site to the package?? I've already have the MSI for Secure Client NGX R60 and I need to deploy this package to 70 laptops.
Thanks
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
WisconsinPlatt
17 years ago
Posted by:
Y
17 years ago
Posted by:
WisconsinPlatt
17 years ago
Posted by:
JWMerrow
17 years ago
Posted by:
WisconsinPlatt
17 years ago
In AdminStudio I built a transform file and stuck the VB Custom Action in there. Just to make sure it lauched I added it after ExecuteAction in the Install UI Sequence and After OnRemoveReboot from the Install Exec Sequence.
Here is the "bones" of my script. I snipped out the bulk of my userc.c as you'll just need to replace it with yours...
One thing you'll need to remember is if your userc.c has double-quotes in it, you'll need to concantenate them in using CHR(34).
So if your original userc.c had a line that looked like:
in the Script portion it would look like:
Here is the "bones" of my script. I snipped out the bulk of my userc.c as you'll just need to replace it with yours...
'
' August 8, 2007
' VBS to write the Corporate userc.c file located at C:\Program Files\CheckPoint\SecuRemote\database
' Required as a direct copy of the file is overwitten by some other process in the
' installation after the file copy sequence
' Error handling
On Error Resume Next
' Setting the WMI service to the workstation the application is installing on
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
' Specify the file and path.
strFileName = "C:\Program Files\CheckPoint\SecuRemote\database\userc.C"
' Create and overwrite the file. Note: This script will fail if the path is not there.
' As the path was just created by the installer the script is not creating the whole path.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(strFileName, True)
' Write each line of the userc.c file. Note use of " & CHR(34) & " as the double-quote is a reserved
' character and must be concantented into the lines
objFile.WriteLine ("(")
objFile.WriteLine (" :options (")
<SNIP>
objFile.WriteLine (" )")
objFile.WriteLine (")")
' close the file
objFile.Close
One thing you'll need to remember is if your userc.c has double-quotes in it, you'll need to concantenate them in using CHR(34).
So if your original userc.c had a line that looked like:
:active_profile ("CORPORATE VPN")
in the Script portion it would look like:
objFile.WriteLine (" :active_profile (" & CHR(34) & "CORPORATE VPN" & CHR(34) & ")")
Posted by:
Rick.Tuttle
16 years ago
During operation, SecuRemote/SecureClient also creates a directory called \backup under the "database" folder. I created my transform to put the userc.c file in that folder. Then, in my wrapper script, I do a local copy action after the installation completes to place the correct version of the file in the database directory. This method has the added benefit of creating a backup with the correct settings in case the active file is damaged.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.