Hi,
I'm using Setup Factory to install a Visual Studio 2019 extension.
On startup, the setup locates all valid instances of VS2019 currently installed on the target and those instances are the ones that should be presented to the user via the select package dialog, where the user chooses which ones to install the extension on.
The number of installed VS2019 instances can vary and it is impossible to predict, until during install time, how many they are and what their names are. As an example, you can have Community, Professional and Enterprise and then you can have multiple instances of each one.
My fist thought was to define some maximum number of Setup Factory packages, then dynamically construct the names and availability during installation startup. A pretty safe maximum number would be, say 20.
This approach actually fails as I can only disable packages, not hide them.
Is there any option to hide and unhide packages during setup time ?
Is there any option to dynamically add new packages at setup time ?
If neither above is possible, I assume that my approach would be to use a List Box control to accomplish the above, right ?
Palli
I'm using Setup Factory to install a Visual Studio 2019 extension.
On startup, the setup locates all valid instances of VS2019 currently installed on the target and those instances are the ones that should be presented to the user via the select package dialog, where the user chooses which ones to install the extension on.
The number of installed VS2019 instances can vary and it is impossible to predict, until during install time, how many they are and what their names are. As an example, you can have Community, Professional and Enterprise and then you can have multiple instances of each one.
My fist thought was to define some maximum number of Setup Factory packages, then dynamically construct the names and availability during installation startup. A pretty safe maximum number would be, say 20.
This approach actually fails as I can only disable packages, not hide them.
Is there any option to hide and unhide packages during setup time ?
Is there any option to dynamically add new packages at setup time ?
If neither above is possible, I assume that my approach would be to use a List Box control to accomplish the above, right ?
Palli
Comment