View Full Version : ILogLoader::CreateLogFile

08-15-2003, 06:57 AM
Hello all!

I'm trying to use LogLoader COM object defined in LogUtil.dll.
I need this to read and change values in InstallShield log from VC++.

Everything is OK, I can load InstallShield log (setup.ilg) using ILogLoader::LoadLogFromFile and query values.

if I try to save new log file (with different name, say setup2.ilg) using ILogLoader::CreateLogFile, the file is created but always of size 6144 bytes while original setup.ilg size is >2MB.


ISetupLogDB *pLogDB;
ILogLoader* pLogLoader;
pLogLoader->LoadLogFromFile(bstrLogFileName, &pLogDB);
pLogLoader->CreateLogFile(bstrLogFileName2, &pLogDB);

So I try to call CreateLogFile just after LoadLogFromFile and get 6144 bytes file (bstrLogFileName2), while original (bstrLogFileName) file is > 2MB.

Please help me with any info on this issue.

Sincerely yours,
Maxim Hodanovich

05-30-2006, 07:57 AM

Is there any way through which I can read/modify my setup.ilg file using VC++ code. As I am trying to provide a migration path for an existing setup that is being already deployed.

Jai Krishnani