We are using a build server with CI (e.g. Gitlab, AzureDevops) to build our software. One step during the build is to create the setup package. Currently this is done manually by opening the Setup Factory software and loading the corresponding project. Now we are looking for a way to call the setup factory software with a command line switch to load and build the project without showing a user interface. Is this possible?
Announcement
Collapse
No announcement yet.
Use Setup Factory with msbuild
Collapse
X
-
We do this by launching a batch file from msbuild or our continuous integration tool. Here's a couple snippets:
Code:rem get the location of the Setup Factory folder FOR /F "tokens=2*" %%A IN ('REG.EXE QUERY "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Setup Factory 9" /v "InstallLocation" ^| FIND "REG_SZ"') DO SET SetupFactoryDir=%%B rem Compile the installation of OurProduct "%SetupFactoryDir%\SUFDesign.exe" /BUILD OurInstaller.suf /CONFIG:Default /Log:OurInstaller.log if not exist eFreedomASClientSetup.exe echo error compiling OurInstaller.suf >> OurBuild_output.txt
Comment