CheckPoint SecuRemote Clien 5.6
Hi ,
I am currently working on Check point securemote vpn-1 client version 5.6 . I am creating a msi wrapper for it. I have copied the source folder o fthe application to C:\windows\system32 and from there using a custom action i am calling the setup.,exe for installation and it installs successfully. Then i execute a custom action to remove the source folder after installation. Now for uninstallation i am wrioting three custom action one for calling the exe and the answer file for removing the application and two for removing the application folder inside program files. Now the problem is when i intergrate all these scripts into the msi and execute for installation i am getting Error 1721. Could any one help to trouble shoot the same or any one worked in creating the msi for the application ?
Many Thanks in advance.
Kind Regards,
Yuvi.
I am currently working on Check point securemote vpn-1 client version 5.6 . I am creating a msi wrapper for it. I have copied the source folder o fthe application to C:\windows\system32 and from there using a custom action i am calling the setup.,exe for installation and it installs successfully. Then i execute a custom action to remove the source folder after installation. Now for uninstallation i am wrioting three custom action one for calling the exe and the answer file for removing the application and two for removing the application folder inside program files. Now the problem is when i intergrate all these scripts into the msi and execute for installation i am getting Error 1721. Could any one help to trouble shoot the same or any one worked in creating the msi for the application ?
Many Thanks in advance.
Kind Regards,
Yuvi.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
i am calling the setup.exe for installation and it installs successfully. Then i execute a custom action to remove the source folder after installation
one for calling the exe and the answer file for removing the application
Are you SURE your setup.exe is still in place when you uninstall? Since you possibly removed it after the installation?
btw, error 1721 means.
A program required for this install to complete could not be run.
makes sense to me.. have a look
PJ
Posted by:
Yuvaraj_Subramanian
14 years ago
Posted by:
anonymous_9363
14 years ago
I have copied the source folder o fthe application to C:\windows\system32Are you mad? Of all the folders to choose to deposit what is essentially junk, this is the worst choice. Use %TEMP% - that's why it exists!
Your 1720 error is almost certainly due to your script using the 'WScript' directive when creating objects. That directive can only be used with Windows Scripting Host (i.e. CSCRIPT/WSCRIPT). Windows Installer has its own interpreter (let's call it that for now) and doesn't understand that directive. So, anywhere you have something like 'Set objWhatever = WScript.CreateObject("Whatever.Whatever")' you need to change it to 'Set objWhatever = CreateObject("Whatever.Whatever")'. Note that this does NOT apply to the objects themselves. So, you must continue to use the 'WScript' object prefix where required, e.g. in 'Set objShell = CreateObject("WScript.Shell").
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.