Hi,
I am working with this legacy project which makes use of cabarc, it seems to be ancient code by Ramani, to create cab files:
This code does not work anymore, since Cabarc is now replace with MakeCab. According to the code should now be:
However this does not result into making a cab file. Anybody around to point me in the correct direction?
Regards,
Jockey(2)
I am working with this legacy project which makes use of cabarc, it seems to be ancient code by Ramani, to create cab files:
Code:
Function gsCabBack
Lparameters lcSource, lcDestination
Local lcCmd, lnSuccess, loShell
If !Empty(m.lcDestination) Or !Empty(m.lcSource)
lcCmd = "CABARC -r -p N " + ;
m.lcDestination + Space(1) + m.lcSource
loShell = Createobject("wscript.shell")
lnSuccess = m.loShell.Run(m.lcCmd,1,.T.)
If m.lnSuccess = 0
=Messagebox("BackUp successful.",0+64,"Backup OK!")
Else
=Messagebox("BackUp failed",0+16,"Caution")
Endif
Endif
Return
Code:
lcCmd = "makecab /n "+m.lcSource+ Space(1)+m.lcDestination
Regards,
Jockey(2)