vattipalli
02-23-2005, 04:34 AM
Hi,
I created Blowfish.dll from Blowfish.cls(VB class module). That VB class module has the following function:
Public Function DecryptFile(InPath As String, OutPath As String, Overwrite As Boolean, Key As String, Optional InHex As Boolean) As Boolean
Then i added this dll to support directory in InstallShield project.
Then i added the following code in setup.rul file.
prototype cdecl BOOL Blowfish.DecryptFile( BYREF STRING, BYREF STRING, BOOL, BYREF STRING, BOOL);
UseDLL(SUPPORTDIR ^ "Blowfish.dll");
Blowfish.DecryptFile("C:\My Installations\Caterpillar Electronic Technician\EncryptedFile.ini", "C:\My Installations\Caterpillar Electronic Technician\Setup Files\Compressed Files\Language Independent\OS Independent\DecryptedFile.ini", TRUE, "123456", TRUE);
where "123456" is the key i have used in encrytping the file.
When i build the installshield project , iam getting following runtime error :
An error -5011:0x80040703 has occured while running the setup.
Please let me know how to solve this error.
Regards,
Vattipalli
I created Blowfish.dll from Blowfish.cls(VB class module). That VB class module has the following function:
Public Function DecryptFile(InPath As String, OutPath As String, Overwrite As Boolean, Key As String, Optional InHex As Boolean) As Boolean
Then i added this dll to support directory in InstallShield project.
Then i added the following code in setup.rul file.
prototype cdecl BOOL Blowfish.DecryptFile( BYREF STRING, BYREF STRING, BOOL, BYREF STRING, BOOL);
UseDLL(SUPPORTDIR ^ "Blowfish.dll");
Blowfish.DecryptFile("C:\My Installations\Caterpillar Electronic Technician\EncryptedFile.ini", "C:\My Installations\Caterpillar Electronic Technician\Setup Files\Compressed Files\Language Independent\OS Independent\DecryptedFile.ini", TRUE, "123456", TRUE);
where "123456" is the key i have used in encrytping the file.
When i build the installshield project , iam getting following runtime error :
An error -5011:0x80040703 has occured while running the setup.
Please let me know how to solve this error.
Regards,
Vattipalli