Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTX optimizer: Multiple Templates with AutoSelect for OS Template #112

Open
EUCweb opened this issue Jun 5, 2019 · 0 comments

Comments

Projects
2 participants
@EUCweb
Copy link
Owner

commented Jun 5, 2019

With the new Feature called multiple Templates you will loose AutoSelect for the OS Template.

In 10_PrepBISF_CTX.ps1 remove Line 418 as follows

"& ""$fileExists"" -Source ""$template""$groups-mode $mode -OutputXml ""$output_xml""" | Out-File $tmpPS1 -Encoding default

and replace with this special code

IF ($template -eq "AutoSelect") {
"& ""$fileExists"" -mode $mode -OutputXml ""$output_xml""" | Out-File $tmpPS1 -Encoding default
} ELSE {
"& ""$fileExists"" -Source ""$template""$groups-mode $mode -OutputXml ""$output_xml""" |  Out-File $tmpPS1 -Encoding default
}

In the BIS-F ADMX for the CTX Templates you can enter AutoSelect,PVS_Target.xml to get this work

@EUCweb EUCweb added this to To do in Bugs Bunny via automation Jun 5, 2019

@EUCweb EUCweb added this to the Bugs Bunny Release milestone Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.