How to add two same function in Inno-setup

六月ゝ 毕业季﹏ 提交于 2019-12-08 09:18:32

问题


How to add two same function in inno-setup.I mean for example if I want to delete a folder and and everything inside it I use :

DelTree(ExpandConstant('{userdocs}\A'), True, True, True)

to delete everything inside 'A'.But now I want to delete folder 'B' with Folder 'A'

I know one way to do that something this:

  DelTree(ExpandConstant('{userdocs}\Games\A'), True, True, True);
  DelTree(ExpandConstant('{userdocs}\Games\B'), True, True, True);

I want to know is there any other way to do this this in one line something like delete 'A+B' that will delete both 'A' And 'B'.

Anyone please help.

Thanks!

来源:https://stackoverflow.com/questions/30882350/how-to-add-two-same-function-in-inno-setup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!