GSI_Peter
Posts: 6
Joined: Tue Apr 23, 2024 3:58 pm

Optional prerequisite not included when building on server

Hello,

I recently updated our installer project to include the built-in ConfigureDlg because we have one feature that we wanted to make optional.
To limit the list of options in the ConfigureDlg, I set all of our features other than the MainFeature and the optional feature to NotDisplayed in the FeatureTree field.

This builds and functions correctly when I build on my development PC. I can see the two expected options in the Configure Dlg during the installation, and selecting or unselecting the optional feature installs or skips as expected (it is unselected by default).

However, when I build it on our DevOps server, and run the finished exe, the optional feature is not displayed in the ConfigureDlg. In addition to that, the size of the .exe is much smaller, indicating that the .msi for the optional feature is not even being included in the build.

My development PC is running Windows 11.
The DevOps server is running Windows Server 2019 Standard.
Advanced Installer version 22.6.

Please let me know if you need more info from me.

Thanks,

Peter
Liviu
Posts: 1356
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Optional prerequisite not included when building on server

Hello Peter,

To facilitate a more in-depth investigation of this issue, could you kindly email the following resources to support at advancedinstaller dot com?

1. the .AIP (setup project) file.
2. a download link for your setup package.

Looking forward to hearing from you!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GSI_Peter
Posts: 6
Joined: Tue Apr 23, 2024 3:58 pm

Re: Optional prerequisite not included when building on server

Thank you Liviu, I will send that info today.
Liviu
Posts: 1356
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Optional prerequisite not included when building on server

Hello Peter,

I've replied to your email.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”