如题;用Inno setup 制作的安装包中有一个文件夹,我想把它提取出来放在系统的临时文件中,请问能不能实现!

解决方案 »

  1.   

    [Files]
    Source: "D:\game5_9_18\game5同花顺\run\new exe\Game_2xi.exe"; DestDir: "{app}"; Flags: ignoreversionnew exe\Game_2xi.exe"; DestDir: "{app}"; Flags: ignoreversion
    DestDir: "{app}" 把 {app} 换成{usertemplates}
      

  2.   

    感谢楼上的,但是我的意思是在[code]段用代码提取,有相关的方法么?
      

  3.   

    CopyFile( ExpandConstant('{tmp}\同花顺.ico'), 'C:\dd.ico') ; 应该可以把文件复制出来,但是现在我不知道怎么使用 copyfile 这个函数,如果楼主你知道怎么调用了,也请帖出来看看哈