Skip to content

Commit f2cf009

Browse files
committed
[Unattended answer file] Update UnattendGen, add Parallels support
1 parent 091db03 commit f2cf009

File tree

13 files changed

+72
-60
lines changed

13 files changed

+72
-60
lines changed

Elements/AutoUnattend/VirtualMachines/VirtualMachineSettings.vb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
''' <remarks></remarks>
3333
VirtIO_Guest_Tools = 2
3434

35+
''' <summary>
36+
''' Parallels (macOS)
37+
''' </summary>
38+
''' <remarks></remarks>
39+
Parallels = 3
40+
3541
End Enum
3642

3743
End Namespace

Panels/Unattend_Files/Addition/NewUnattendWiz.Designer.vb

Lines changed: 55 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Panels/Unattend_Files/Addition/NewUnattendWiz.resx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@
121121
<value>In this screen you can configure scripts that will be run during a specific stage of Windows installation. Use the sections below to specify the code for the scripts.
122122

123123
If you don't want to configure scripts, click Next.</value>
124+
</data>
125+
<data name="Label46.Text" xml:space="preserve">
126+
<value>- Use Guest Additions with Oracle VM VirtualBox
127+
- Use VMware Tools with VMware hypervisors
128+
- Use VirtIO Guest Tools with QEMU-based hypervisors
129+
- Use Parallels Tools with Parallels hypervisors on Macintosh computers</value>
124130
</data>
125131
<data name="Scintilla2.Text" xml:space="preserve">
126132
<value>REM EXAMPLE SCRIPT. PLEASE MODIFY
@@ -155,9 +161,6 @@ To begin creating your answer file, click Next.</value>
155161
<metadata name="DarkToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
156162
<value>17, 17</value>
157163
</metadata>
158-
<metadata name="DarkToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
159-
<value>17, 17</value>
160-
</metadata>
161164
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
162165
<data name="ToolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
163166
<value>

Panels/Unattend_Files/Addition/NewUnattendWiz.vb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Public Class NewUnattendWiz
1919

2020
Dim DotNetRuntimeSupported As Boolean
2121
Dim PreferSelfContained As Boolean
22-
Const UnattendGenReleaseTag As String = "2572"
22+
Const UnattendGenReleaseTag As String = "2581_BETA1"
2323

2424
' Regional Settings Page
2525
Dim ImageLanguages As New List(Of ImageLanguage)
@@ -1291,6 +1291,8 @@ Public Class NewUnattendWiz
12911291
TextBox13.AppendText("- Selected Hypervisor: VMware (VMware Tools)" & CrLf)
12921292
Case VMProvider.VirtIO_Guest_Tools
12931293
TextBox13.AppendText("- Selected Hypervisor: QEMU/Proxmox VE/etc. (VirtIO Guest Tools)" & CrLf)
1294+
Case VMProvider.Parallels
1295+
TextBox13.AppendText("- Selected Hypervisor: Parallels (Parallels Tools)" & CrLf)
12941296
End Select
12951297
End If
12961298
' 8. -- WIRELESS NETWORKING
@@ -2091,6 +2093,8 @@ Public Class NewUnattendWiz
20912093
UnattendGen.StartInfo.Arguments &= " --vm=vmware"
20922094
Case VMProvider.VirtIO_Guest_Tools
20932095
UnattendGen.StartInfo.Arguments &= " --vm=virtio"
2096+
Case VMProvider.Parallels
2097+
UnattendGen.StartInfo.Arguments &= " --vm=parallels"
20942098
End Select
20952099
End If
20962100
If Not NetworkConfigInteractive Then
512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
1 KB
Binary file not shown.
512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
1 KB
Binary file not shown.

0 commit comments

Comments
 (0)