Loading
Passing suite feature data to a package
I'm having a problem with passing data to the primary MSI packages of my suite installation. I'll get the feature selections related to those packages passed just fine with ADDLOCAL=[ISParcelFeatureInstall], but the problem is that I'd also need to pass data regarding a different suite feature's action state so that the MSI packages can launch PowerShell custom actions if needed. Alternatively it would help if there's a way to run PowerShell custom actions in the suite installer. At least the UI doesn't provide any clues for doing that, but it seems like all suite features are not exposed to the UI (like constructing the feature hierarchy, which had to be done by modifying the XML).

 

So here's my scenario, the suite consists of the following packages:

 

-32-bit MSI (primary)

 

-64-bit MSI (primary)

 

-LocalDB (optional dependency)

 

-

 

I'd need to way to tell the MSI packages whether LocalDB is getting installed. I tried to pass the feature-related pseudo properties (FEATURE[name].actionState) to the MSI command line, but that didn't resolve to the actual value during runtime. I just get LOCALDB=FEATURE.actionState in the log as the actual command line, and on that same command line [ISParcelFeatureInstall] resolves to the correct values just fine. Is my syntax wrong or is it so that the pseudo properties cannot be used here (like the documentation suggests). Is there a way to get this to work in some way?

 

EDIT: It's actually an Advanced UI/Suite package I'm developing, so features available only in the Premier edition are OK too

Loading
Passing suite feature data to a package