我正在处理一个NSIS安装程序(windows窗体应用程序)。
应用程序的主要思想-用户通过一个windows窗体应用程序,配置所有需要的设置,当他/她点击“完成”.nsis文件自动生成。makeNSIS.exe也是在我的应用程序中包含的,这样用户就不必为了使用我的安装程序而安装它。
我的目标是默默地生成一个setup.exe文件。我希望将自动生成的.nsi文件作为参数传递给每个cmd的makeNSIS.exe,告诉它执行它,并在特定的路径上创建一个setup.exe文件。我希望一切都能默默地完成。
我失败的一次试验是:
ProcessStartInfo psi = new P
我试图从一个C#应用程序调用一个命令提示符,然后命令提示符将运行一个参数来生成一个nsis。
因此,这是C#应用程序中生成安装程序的函数:
private bool GenerateInstaller(string pStrVersion)
{
bool IsSuccess = false;
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.WindowStyle = Sy
如何使Nullsoft脚本安装系统(NSIS)安装程序保持沉默?
维基百科:
"Nullsoft脚本安装系统( NSIS )、est un logiciel libre contr lable par script、qui permet la création d‘’installateurs pour Windows. Il aétéinitialement dépar Nullsoft、la sociétécréatrice de Winamp. NSIS est est une une aux aux produits商业化,comme InstallShield。
NSIS编
我正在努力学习NSIS为一个项目创建一个安装程序和一个卸载程序,并且我试图遵循教程部分中的例子。我试过以下脚本:-
# define the name of the installer
outfile "installer.exe"
# define the directory to install to, the desktop in this case as specified
# by the predefined $DESKTOP variable
installDir $DESKTOP\Harshit\NSIS\Scripts
# default sectio