mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-25 15:52:44 +01:00
Issue #25: PowerShell script to run windows installer
This commit is contained in:
parent
6fa20b73dc
commit
591dd15fa7
@ -17,9 +17,11 @@
|
||||
|
||||
if(WIN32 AND MSVC AND PDF4QT_INSTALL_PREPARE_WIX_INSTALLER)
|
||||
file(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}/bin" WIX_INSTALL_PREFIX)
|
||||
file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/WixInstaller" PDF4QT_WIX_DIR)
|
||||
|
||||
configure_file(PDF4QT.sln.in PDF4QT.sln)
|
||||
configure_file(PDF4QT.wixproj.in PDF4QT.wixproj)
|
||||
configure_file(Product.wxs.in Product.wxs)
|
||||
configure_file(createInstaller.ps1.in createInstaller.ps1)
|
||||
configure_file(explic.rtf explic.rtf)
|
||||
endif()
|
||||
|
2
WixInstaller/createInstaller.ps1.in
Normal file
2
WixInstaller/createInstaller.ps1.in
Normal file
@ -0,0 +1,2 @@
|
||||
candle -d"DevEnvDir=C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\\" -d"SolutionDir=${PDF4QT_WIX_DIR}" -d"SolutionExt=.sln" -d"SolutionFileName=PDF4QT.sln" -d"SolutionName=PDF4QT" -d"SolutionPath=PDF4QT.sln" -d"Configuration=Release" -d"OutDir=bin\Release\" -d"Platform=x86" -d"ProjectDir=${PDF4QT_WIX_DIR}" -d"ProjectExt=.wixproj" -d"ProjectFileName=PDF4QT.wixproj" -d"ProjectName=PDF4QT" -d"ProjectPath=PDF4QT.wixproj" -d"TargetDir=bin\Release\" -d"TargetExt=.msi" -d"TargetFileName=PDF4QT.msi" -d"TargetName=PDF4QT" -d"TargetPath=bin\Release\PDF4QT.msi" -out obj\Release\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset v3.11\bin\\WixUIExtension.dll" Product.wxs
|
||||
Light -out .\bin\Release\PDF4QT.msi -pdbout .\bin\Release\PDF4QT.wixpdb -cultures:null -ext "C:\Program Files (x86)\WiX Toolset v3.11\bin\\WixUIExtension.dll" -contentsfile obj\Release\PDF4QT.wixproj.BindContentsFileListnull.txt -outputsfile obj\Release\PDF4QT.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\Release\PDF4QT.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile .\PDF4QT.wixproj obj\Release\Product.wixobj
|
Loading…
Reference in New Issue
Block a user