본문 바로가기

Programming

InstallSheid Uninstall Shortcut 만들기


function OnMoving()
    string szProgramFolder, szAppPath;
begin
    szProgramFolder= FOLDER_PROGRAMS ^ IFX_COMPANY_NAME ^IFX_PRODUCT_NAME;   
    if (!MAINTENANCE) then
        szAppPath = UNINSTALL_STRING+" -removeonly ";
        AddFolderIcon( szProgramFolder, IFX_PRODUCT_NAME+" 제거", szAppPath, "", TARGETDIR ^ "\\Uninstall.ico", 0, "", REPLACE);
    endif;
end;