PDA

View Full Version : How to create msi executable package using SB10



testuser
08-25-2020, 06:25 AM
Hello,

I just want to create msi executable output package instead of exe, can you please help me?


Thanks in advance!

linder
08-25-2020, 07:06 AM
Hello,

SetupBuilder creates native high-performance Windows executables (.exe). You can embed such an .exe into a .msi using the "#exe2msi" directive (if you have to). Please see the "exe2msi Demo.sbp" Example project.

Friedrich

testuser
08-25-2020, 07:49 AM
Have you attached demo sbp file?

I tried using pragma however I am getting below error.
5003

5004

testuser
08-25-2020, 08:01 AM
I had given wrong msi output path, it worked now.

If I install exe then entry in Add/Remove programs gets added but not happened when installed msi file, any idea?

I have one sbp for main product and other sbp project to convert exe to msi, so do I have to set settings in exetomsi convert project as well to add entry in add or remove programs? tried this as well, didnt worked.

linder
08-26-2020, 06:26 AM
Please try the "UAC compliant" switch.

Friedrich

testuser
08-26-2020, 06:53 AM
Hello,

I have tried that, as in our product we need to install service so we have kept Execution Level to requireAdministartor, and when msi is created with "UAC compliant" switch then while installing msi we get error shown in image. I tried to execute msi file from administrator command prompt then msi gets installed but no entry in Add/Remove programs of windows.

5006

testuser
08-27-2020, 07:10 AM
I had set $SB_ALLUSERSFLAG$ to 0 thats why it was not working, sorted now.