Do not use kernel32.dll as test file
Rob Mensching committed
Dec 2, 2021 at 14:32 UTC
2c01f5fa3ac1e7be66b86561f32d2d1c220d7a8f
10 files changed
+10
-9
src/ext/Bal/test/examples/.data/notanexe.exe
new
+1
@@ -0,0 +1 @@
1
+This is notanexe.exe
\ No newline at end of file
src/ext/Bal/test/examples/EarliestCoreBundleFDD/FrameworkDependentBundle.wxs
+1
-1
@@ -9,7 +9,7 @@
9
<bal:WixDotNetCoreBootstrapperApplicationHost />
10
</BootstrapperApplication>
11
<Chain>
12
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" />
12
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" bal:PrereqPackage="yes" />
13
</Chain>
14
</Bundle>
15
</Wix>
src/ext/Bal/test/examples/EarliestCoreBundleSCD/SelfContainedBundle.wxs
+1
-1
@@ -5,7 +5,7 @@
5
<PayloadGroupRef Id="publish.Example.EarliestCoreMBA.scd" />
6
</BootstrapperApplication>
7
<Chain>
8
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" PerMachine="yes" />
8
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" PerMachine="yes" />
9
</Chain>
10
</Bundle>
11
</Wix>
src/ext/Bal/test/examples/EarliestCoreBundleTrimmedSCD/TrimmedSelfContainedBundle.wxs
+1
-1
@@ -5,7 +5,7 @@
5
<PayloadGroupRef Id="publish.Example.EarliestCoreMBA.trimmedscd" />
6
</BootstrapperApplication>
7
<Chain>
8
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" PerMachine="yes" />
8
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" PerMachine="yes" />
9
</Chain>
10
</Bundle>
11
</Wix>
src/ext/Bal/test/examples/FullFramework2Bundle/Bundle.wxs
+1
-1
@@ -8,7 +8,7 @@
8
<bal:WixManagedBootstrapperApplicationHost />
9
</BootstrapperApplication>
10
<Chain>
11
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" />
11
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" bal:PrereqPackage="yes" />
12
</Chain>
13
</Bundle>
14
</Wix>
src/ext/Bal/test/examples/FullFramework4Bundle/Bundle.wxs
+1
-1
@@ -8,7 +8,7 @@
8
<bal:WixManagedBootstrapperApplicationHost />
9
</BootstrapperApplication>
10
<Chain>
11
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" />
11
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" bal:PrereqPackage="yes" />
12
</Chain>
13
</Bundle>
14
</Wix>
src/ext/Bal/test/examples/LatestCoreBundleFDD/FrameworkDependentBundle.wxs
+1
-1
@@ -9,7 +9,7 @@
9
<bal:WixDotNetCoreBootstrapperApplicationHost />
10
</BootstrapperApplication>
11
<Chain>
12
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" />
12
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" bal:PrereqPackage="yes" />
13
</Chain>
14
</Bundle>
15
</Wix>
src/ext/Bal/test/examples/LatestCoreBundleSCD/SelfContainedBundle.wxs
+1
-1
@@ -5,7 +5,7 @@
5
<PayloadGroupRef Id="publish.Example.LatestCoreMBA.scd" />
6
</BootstrapperApplication>
7
<Chain>
8
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" PerMachine="yes" />
8
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" PerMachine="yes" />
9
</Chain>
10
</Bundle>
11
</Wix>
src/ext/Bal/test/examples/LatestCoreBundleTrimmedSCD/TrimmedSelfContainedBundle.wxs
+1
-1
@@ -5,7 +5,7 @@
5
<PayloadGroupRef Id="publish.Example.LatestCoreMBA.trimmedscd" />
6
</BootstrapperApplication>
7
<Chain>
8
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" PerMachine="yes" />
8
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" PerMachine="yes" />
9
</Chain>
10
</Bundle>
11
</Wix>
src/ext/Bal/test/examples/WPFCoreBundleFDD/FrameworkDependentBundle.wxs
+1
-1
@@ -9,7 +9,7 @@
9
<bal:WixDotNetCoreBootstrapperApplicationHost />
10
</BootstrapperApplication>
11
<Chain>
12
- <ExePackage DetectCondition="none" SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" />
12
+ <ExePackage DetectCondition="none" SourceFile="..\.data\notanexe.exe" bal:PrereqPackage="yes" />
13
</Chain>
14
</Bundle>
15
</Wix>