首页 > 其他 > 详细

installshield 6.22 入门 FAQ

时间:2020-04-25 14:32:04      阅读:61      评论:0      收藏:0      [点我收藏+]

1. vbproject wizard 选择vbproject文件,自动引入相关的dll

[file groups]  insert file and folder, 

技术分享图片

更改版权信息license.txt, 程序信息infolist.txt

 技术分享图片

 

 

 

2. media wizard 一路默认下去就好了

3.  setup.rul 更改公司名,安装目录

4. compile ,build media(F7) 注意资源管理器不能打开media所在的目录

删掉setup.bmp

假如需要指定路径的.修改setup.rul

 Dlg_SdAskDestPath:  
    
    szDir="d:\\XXX";
    TARGETDIR ="d:\\XXX"; 
    szTitle = "";
    szMsg   = "";
    nResult = SdAskDestPath( szTitle, szMsg, szDir, 0 );
    TARGETDIR = szDir;
    if (nResult = BACK) goto Dlg_SdRegisterUserEx;去掉

去掉setuptype界面(typical,custom..), 去掉start copy的确认

    /*Dlg_SetupType:
    szTitle    = "";
    szMsg      = "";
    nResult = SetupType ( szTitle , szMsg , "" , nSetupType , 0 );
    if (nResult = BACK) then
        goto Dlg_SdAskDestPath;
    else
        nSetupType = nResult;
           if (nSetupType != CUSTOM) then                                                               
               if(CMPT_ERR_DISK_NOTENOUGHSPACE = ComponentCompareSizeRequired(MEDIA, szDir, nvSize))then
                   MessageBox( szSdStr_NotEnoughSpace, WARNING );                                       
                   goto Dlg_SetupType;                                                                  
                  endif;                                                                                   
        endif;                                                                                       
    endif;     */

    Dlg_SdComponentTree: 
    if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SdAskDestPath;
    szTitle    = "";
    szMsg      = "";
    szTargetdir = TARGETDIR;
    szComponents = "";
    nLevel = 2;
    //if (nSetupType = CUSTOM) then
    //    nResult = SdComponentTree(szTitle, szMsg, szTargetdir, szComponents, nLevel);
    //    if (nResult = BACK) goto Dlg_SetupType;  
    //endif;

    Dlg_SdSelectFolder:
    szfolder = SHELL_OBJECT_FOLDER; 
    szTitle    = "";
    szMsg      = "";
    nResult    = SdSelectFolder( szTitle, szMsg, szfolder );
    SHELL_OBJECT_FOLDER = szfolder;
    if (nResult = BACK) goto Dlg_SdComponentTree;
    
   
    /*Dlg_SdStartCopy:
    szTitle = "";
    szMsg   = "";
    listStartCopy = ListCreate( STRINGLIST );
    //The following is an example of how to add a string(svName) to a list(listStartCopy).
    //eg. ListAddString(listStartCopy,svName,AFTER);
    nResult = SdStartCopy( szTitle, szMsg, listStartCopy );    
    ListDestroy(listStartCopy);
    if (nResult = BACK) goto Dlg_SdSelectFolder; */

    // setup default status
    SetStatusWindow(0, "");
    Enable(STATUSEX);
    StatusUpdate(ON, 100);

    return 0;

 

installshield 6.22 入门 FAQ

原文:https://www.cnblogs.com/zitjubiz/p/installshield_6_FAQ.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!