Build 如何通过NSIS将2.exe合并为一个?
我有2个exe安装文件。其中一个是我用setup project构建的C#应用程序,另一个是必须与我的应用程序一起使用的摄像头驱动程序 例如:myApp.msi+camDri.exe=new.exe 有人能教我如何使用NSIS吗Build 如何通过NSIS将2.exe合并为一个?,build,installation,nsis,Build,Installation,Nsis,我有2个exe安装文件。其中一个是我用setup project构建的C#应用程序,另一个是必须与我的应用程序一起使用的摄像头驱动程序 例如:myApp.msi+camDri.exe=new.exe 有人能教我如何使用NSIS吗 Name "MyApp" Outfile "MyAppSetup.exe" RequestexecutionLevel admin InstallDir "$Programfiles\MyApp" Page Directory Page Instfiles Sect
Name "MyApp"
Outfile "MyAppSetup.exe"
RequestexecutionLevel admin
InstallDir "$Programfiles\MyApp"
Page Directory
Page Instfiles
Section
Initpluginsdir
Setoutpath $pluginsdir
File "camDri.exe"
ExecWait '"$pluginsdir\camDri.exe" /silent' ;I don't know the correct silent switch
Delete "$pluginsdir\camDri.exe"
File "myApp.msi"
Setoutpath $instdir
Exec '"msiExec" /q /i "$pluginsdir\myApp.msi" TargetDir = "$INSTDIR"'
SectionEnd
这是一个非常基本的示例,您应该查看NSIS附带的示例,了解有关卸载和创建“开始”菜单快捷方式等的详细信息
这是一个非常基本的示例,您应该查看NSIS附带的示例,了解有关卸载和创建“开始”菜单快捷方式等的详细信息