-
Notifications
You must be signed in to change notification settings - Fork 225
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
BREAKING CHANGE: Install from ISO fails due to hardcoded reliance on Source folder #40
Comments
You can override this by setting the SourceFolder to the empty string on the resoruce. It does however seem very odd that the 'Sources' directory is automatically appended to the xSqlServerSetup SqlServer {
SourcePath = "d:\"
SourceFolder = ''
# ..
} |
I am very interested to hear the logic behind the 'SourceFolder' attribute. I also don't quite understand why this attribute exists and why it is set to 'Source' by default. |
I agree. Empty strings should be optional. Not necessary to bypass hardcoded values. The use of both a Source folder and a Source path sees redundant to me. |
After a quick glance at the code it seems that when using the parameter So I think if If we leave |
net use can be used to directly mount a folder under a share. Alternatively, use native powershell: edit: might need to choose regular driveletter and make persistant to be able to use outside of the powershel session in case of calling executables. But I believe Invoke-item will just launch \server\share\folder\setup.exe. Is it at all necessary to create a mapping? |
Regarding if it necessary to create the mapping, probably not. It's using |
I'm working on removing |
If you mount a SQL Server ISO to the disk of a machine then the SourceFolder is always set as "Source" which in the SQL Server ISO isnt a valid path
The text was updated successfully, but these errors were encountered: