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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
[8|]
Answered 09/05/2007 by: Y
Senior Yellow Belt

Please log in to comment
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.
Answered 09/05/2007 by: WisconsinPlatt
Senior Yellow Belt

Please log in to comment
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
Answered 09/06/2007 by: Y
Senior Yellow Belt

Please log in to comment
0
Y, sent you a PM with some notes. If anyone else has interest on this, I'll post it here
Answered 09/10/2007 by: WisconsinPlatt
Senior Yellow Belt

Please log in to comment
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
Answered 09/11/2007 by: JWMerrow
Yellow Belt

Please log in to comment
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) & ")")
Answered 09/11/2007 by: WisconsinPlatt
Senior Yellow Belt

Please log in to comment
0
Much appreciated! [:)]


Thanks,
JWM
Answered 09/13/2007 by: JWMerrow
Yellow Belt

Please log in to comment
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.
Answered 12/11/2007 by: Rick.Tuttle
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity