installshield 등록 dll

984 단어 Install
function OnFirstUIAfter()

    STRING szTitle, szMsg1, szMsg2, szOpt1, szOpt2;

    NUMBER bOpt1, bOpt2;

begin

	Disable(STATUSEX);



	bOpt1   = FALSE;

    bOpt2   = FALSE;    



    if ( BATCH_INSTALL ) then

    	SdFinishReboot ( szTitle , szMsg1 , SYS_BOOTMACHINE , szMsg2 , 0 );

    else

	    SdFinish ( szTitle , szMsg1 , szMsg2 , szOpt1 , szOpt2 , bOpt1 , bOpt2 );

	endif;  

	CopyFile(INSTALLDIR^"CloudClient.dll", WINDIR ^ "Microsoft.NET\\Framework\\v4.0.30319\\CloudClient.dll");

	CopyFile(INSTALLDIR^"HtmlAgilityPack.dll", WINDIR ^ "Microsoft.NET\\Framework\\v4.0.30319\\HtmlAgilityPack.dll");

	CopyFile(INSTALLDIR^"Newtonsoft.Json.dll", WINDIR ^ "Microsoft.NET\\Framework\\v4.0.30319\\Newtonsoft.Json.dll");

	LaunchAppAndWait(WINDIR ^ "Microsoft.NET\\Framework\\v4.0.30319\\RegAsm.exe", "CloudClient.dll", WAIT);

	MessageBox("    ", INFORMATION);     

end;


좋은 웹페이지 즐겨찾기