通过安装程序文件的命令行安装目录
答
使用/D
(它必须是在命令行中最后一个记号,它必须是一个不带引号的绝对路径):如果你希望允许安装到你需要把AllowRootDirInstall true
卷的根目录
MySetup.exe /S /D=C:\Program Files\Foo Bar\Baz
在你的脚本中。
答
我创建了卸载程序文件,但卸载程序无法清除文件。
ExeWait '"$INSTDIR\Farayand\FarayandLibrary\dokanctl.exe" /r a' $0
RMDir /r $INSTDIR\Farayand\FarayandLibrary
RMDir $INSTDIR\Farayand
${if} ${RunningX64}
${DisableX64FSRedirection}
Delete $SYSDIR\drivers\dokan.sys
${EnableX64FSRedirection}
${Else}
Delete $SYSDIR\drivers\dokan.sys
${ElseIF}
dokan.sys清理时卸载run.but farayandLibrary文件夹和文件夹中的内容不删除。
thanks.this为我工作。 –