Skip to content

Fix/install path simulation dir#67

Closed
JusterZhu wants to merge 2 commits into
mainfrom
fix/install-path-simulation-dir
Closed

Fix/install path simulation dir#67
JusterZhu wants to merge 2 commits into
mainfrom
fix/install-path-simulation-dir

Conversation

@JusterZhu
Copy link
Copy Markdown
Collaborator

No description provided.

JusterZhu added 2 commits May 21, 2026 14:49
Client.exe receives --install-path to determine where Upgrade.exe lives for StartApp. Previously this pointed to config.AppDirectory (the real user path), but Upgrade.exe was only copied to OutputDirectory during simulation. Change to OutputDirectory so the simulation doesn't depend on external file system state.
…ctory

All simulation artifacts (Client.exe, Upgrade.exe, .server, report) now live in the same AppDirectory where the update is targeted.

Changes:
- Remove OutputDirectory from SimulateConfigModel
- Replace all config.OutputDirectory references with config.AppDirectory
- Remove OutputDirectory validation check
- Remove SelectOutputDirCommand and OutputDir UI section
- Fix --install-path to use AppDirectory (avoid OneDrive real path issues)

Closes the issue where StartApp couldn't find Upgrade.exe because it was looking in a real user path instead of the simulation workspace.
@JusterZhu
Copy link
Copy Markdown
Collaborator Author

Superseded by #68 — same changes on clean branch after #66 merge.

@JusterZhu JusterZhu closed this May 21, 2026
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

Successfully merging this pull request may close these issues.

1 participant