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

Dependency on IncludeSSO #1

Open
mdoelker opened this issue Jul 17, 2019 · 1 comment
Open

Dependency on IncludeSSO #1

mdoelker opened this issue Jul 17, 2019 · 1 comment

Comments

@mdoelker
Copy link

Hi there,

I ran into issues when using this great script with some applications that did not create an SSO entry, because IncludeSSO was False in Deployment.btdfproj. I discovered that the Deploy script requires this to be True, as it reads out the ProjectPath from SSO which in my case was resolved to null, creating problems when uninstalling backreferences:

Cannot bind argument to parameter 'ProjectPath' because it is null. ---> Microsoft.PowerShell.Commands.WriteErrorException: Undeploying back references failed

Maybe ProjectPath can be read elsewhere to make it independent from the SSO setting, like from an entry in the registry key that is created by this script. It should at least be mentioned that this setting has to be enabled for it to work correctly.

Cheers
Malte

@milkyware
Copy link
Owner

Hi,

Thanks. I'll make a note of that and update the readme. The reason for using the SSO is this is most likely up to date place for the installation folder. I believe BTDF does store it in the registry as well so I'll take a look

Cam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants