Skip to content

Commit 7cd3763

Browse files
committed
Update msm.wxs.vtl
1 parent 5a1afb5 commit 7cd3763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/windows/msm.wxs.vtl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
2323
<RegistryValue Root="HKLM" Key="Software\\${info.organizationName}\\${info.name}" Name="installed" Type="integer" Value="1" />
2424
#else
25-
<File Name="${file.name}" KeyPath="yes" Source="${file}"/>
25+
<File Name="${file.name}" KeyPath="yes" Source="${file}" Id="${file.name.replaceAll("[^A-Za-z0-9_.]", "_")}_${id}"/>
2626
#end
2727
</Component>
2828
#end

0 commit comments

Comments
 (0)