我刚开始用 IS8.0,想请教一下 在哪能把显示用户信息对话框换成下面的函数 Dlg_SdCustomerInformationEx , 验证代码能给我吗?
    还有怎样才能让他只生成一个setup.exe安装文件就行了?

解决方案 »

  1.   

    在setup.rul 中把Dlg_SdCustomerInformation中的行删掉,换成
    Dlg_SdCustomerInformationEx:
            szMsg   = "";
            szTitle = "";
            szSerial = "";
            nResult = SdCustomerInformationEx(szTitle, szName, szCompany, szSerial, nUser);
            if (nResult = BACK) goto Dlg_SdWelcome;
            if (szSerial != "12345") then
            MessageBox("Please enter a valid serial number.", WARNING);
            goto Dlg_SdCustomerInformationEx;
        endif;
    还要在声明中加 string szSerial;
    就行了
      

  2.   

    对于“还有怎样才能让他只生成一个setup.exe安装文件”
      我是在release wizard 中 Media Type 中选Web ,在下一步 Web Type中有One Executable-all files are include in Setup.exe 等。 build 后就只生成一个setup.exe安装文件