Skip to content

Commit 700f080

Browse files
Updated project file.
Pass additional parameters to Inno Setup script.
1 parent c0196fb commit 700f080

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

TimVer/TimVer.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@
9494
<PropertyGroup>
9595
<PowerShellScript>-File "V:\Source\Repos\PublishInnoSetup\PubSetupEx.ps1"</PowerShellScript>
9696
<ScriptName>-issScript "$(ProjectDir)Inno_Setup\TimVerEx.iss"</ScriptName>
97+
<Name>-name "TimVer"</Name>
98+
<Version>-version $(AssemblyVersion)</Version>
9799
</PropertyGroup>
98100

99101
<!-- This is the framework dependent version -->
@@ -112,7 +114,7 @@
112114
</PropertyGroup>
113115

114116
<!-- Execute the PowerShell script -->
115-
<Exec Command="pwsh -NoProfile $(PowerShellScript) $(ScriptName) $(PublishDir) $(PubType) " />
117+
<Exec Command="pwsh -NoProfile $(PowerShellScript) $(ScriptName) $(PublishDir) $(PubType) $(version) $(Name)" />
116118
</Target>
117119

118120
<!-- Remove obj folder after Clean -->

0 commit comments

Comments
 (0)