function OnEnd()
string szProgram, szCmdLine;
begin
szProgram = WINSYSDIR ^ "regsvr32.exe ";
szCmdLine = TARGETDIR ^ "파일이름";
//LongPathToShortPath (szCmdLine);
LongPathToQuote (szCmdLine, TRUE);
MessageBox(szCmdLine, INFORMATION);
LaunchAppAndWait(szProgram, szCmdLine, WAIT/*LAAW_OPTION_CHANGEDIRECTORY | LAAW_OPTION_FIXUP_PROGRAM /*LAAW_OPTION_WAIT*/);
end;
InstallShield 에서 regsvr32 로 COM 등록 스크립트
2009. 2. 13. 13:05