Include Visual C++ Redistributable in Installer
This commit is contained in:
parent
e1f03e41f7
commit
eb5236f6f2
2 changed files with 7 additions and 0 deletions
|
|
@ -70,6 +70,12 @@ continue:
|
||||||
${EndIf}
|
${EndIf}
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
|
# Install Visual C++ Redistributable (only if not silent)
|
||||||
|
IfSilent +4 0
|
||||||
|
InitPluginsDir
|
||||||
|
File /oname=$PLUGINSDIR\vc_redist.x64.exe vc_redist.x64.exe
|
||||||
|
ExecWait "$PLUGINSDIR\vc_redist.x64.exe /install /quiet /norestart"
|
||||||
|
|
||||||
# Copy files
|
# Copy files
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
File /r librewolf\*.*
|
File /r librewolf\*.*
|
||||||
|
|
|
||||||
1
mk.py
1
mk.py
|
|
@ -165,6 +165,7 @@ def artifacts():
|
||||||
os.chdir('work')
|
os.chdir('work')
|
||||||
exec("mkdir x86-ansi")
|
exec("mkdir x86-ansi")
|
||||||
exec("wget -q -O ./x86-ansi/nsProcess.dll https://shorsh.de/upload/we7v/nsProcess.dll")
|
exec("wget -q -O ./x86-ansi/nsProcess.dll https://shorsh.de/upload/we7v/nsProcess.dll")
|
||||||
|
exec("wget -q -O ./vc_redist.x64.exe https://aka.ms/vs/17/release/vc_redist.x64.exe")
|
||||||
setupname = 'librewolf-{}.en-US.win64-setup.exe'.format(full_version)
|
setupname = 'librewolf-{}.en-US.win64-setup.exe'.format(full_version)
|
||||||
exec('sed \"s/pkg_version/{}/g\" < ../assets/setup.nsi > tmp.nsi'.format(full_version))
|
exec('sed \"s/pkg_version/{}/g\" < ../assets/setup.nsi > tmp.nsi'.format(full_version))
|
||||||
exec('cp -v ../assets/librewolf.ico .')
|
exec('cp -v ../assets/librewolf.ico .')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue