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.
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
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
Answered 06/21/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
Yes the setup.exe is inside the program files folder. Also duing installation when i try to run the msi it shows the error as 1720 a script required to run for completing the installation is unable to run.

Kind Regards,
S.Yuvaraj.
Answered 06/22/2010 by: Yuvaraj_Subramanian
Senior Purple Belt

Please log in to comment
0
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").
Answered 06/22/2010 by: VBScab
Red Belt

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