/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (8)

Posted by: Y 17 years ago
Senior Yellow Belt
0
[8|]
Posted by: WisconsinPlatt 17 years ago
Senior Yellow Belt
0
I ended up building a CA that was a script that wrote the user.c that I needed. If you want to go down this road, I might be able to give you a couple of pointers.
Posted by: Y 17 years ago
Senior Yellow Belt
0
That will be great, I think this is the only option I have the Userc.C. I've copied Userc.C from a configured machine and added to the transform file. It didn't help me. I will try your idea.

Thanks
Posted by: WisconsinPlatt 17 years ago
Senior Yellow Belt
0
Y, sent you a PM with some notes. If anyone else has interest on this, I'll post it here
Posted by: JWMerrow 17 years ago
Yellow Belt
0
I am also working with a co-worker on developing this exact same thing. We would be very interested in how you accomplished deploying your user.c file as we are encountering issues with trying to get ours working.


-JWM
Posted by: WisconsinPlatt 17 years ago
Senior Yellow Belt
0
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...


'
' 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: JWMerrow 17 years ago
Yellow Belt
0
Much appreciated! [:)]


Thanks,
JWM
Posted by: Rick.Tuttle 16 years ago
Senior Yellow Belt
0
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.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ