Skip to content

Commit

Permalink
Merge pull request #40 from Freeesia/feature/install_user
Browse files Browse the repository at this point in the history
ユーザー環境にインストールする
  • Loading branch information
Freeesia authored Apr 6, 2024
2 parents 8893fce + 464ba9e commit a04cf69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion VdLabel.Wix/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var version = info.FileVersion;

var project = new ManagedProject(App,
new Dir(@$"%ProgramFiles%\StudioFreesia\{App}",
new Dir(@$"%LocalAppData%\StudioFreesia\{App}",
new File(exePath) { AddCloseAction = true },
new Files(Path.Combine(ArtifactsDir, "*.*"), p => !p.EndsWith(Executable))));

Expand All @@ -31,6 +31,9 @@
project.ValidateBackgroundImage = false;
project.BannerImage = @"..\assets\installer_bunner.png";

// ユーザーレベルのインストールを強制する
project.InstallScope = InstallScope.perUser;

// ライセンスファイルの設定
project.LicenceFile = @"..\LICENSE.rtf";

Expand Down

0 comments on commit a04cf69

Please sign in to comment.