43 public: |
43 public: |
44 /** |
44 /** |
45 * Default constructor. |
45 * Default constructor. |
46 */ |
46 */ |
47 InstallSISFile() : iFileName(L""), iTargetDrive(L'$'), iGenerateStub(false), |
47 InstallSISFile() : iFileName(L""), iTargetDrive(L'$'), iGenerateStub(false), |
48 iNonRemovable(false),iReadOnly(false), iNotRegister(false), |
48 iNonRemovable(false),iReadOnly(false), iNotRegister(false), iSUFlag(false) {} |
49 iSUFlag(false), iGenerateRomStub(false) {} |
|
50 |
49 |
51 /** |
50 /** |
52 * Constructor |
51 * Constructor |
53 */ |
52 */ |
54 InstallSISFile(std::wstring aName, int aDrive, bool aSUFlag) |
53 InstallSISFile(std::wstring aName, int aDrive, bool aSUFlag) |
55 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(false), |
54 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(false), |
56 iNonRemovable(false),iReadOnly(false), iNotRegister(false), |
55 iNonRemovable(false),iReadOnly(false), iNotRegister(false), iSUFlag(aSUFlag) {} |
57 iSUFlag(aSUFlag), iGenerateRomStub(false) {} |
|
58 |
56 |
59 /** |
57 /** |
60 * Constructor |
58 * Constructor |
61 */ |
59 */ |
62 InstallSISFile(std::wstring aName, int aDrive, bool aGenerateStub, bool aNonRemovable, |
60 InstallSISFile(std::wstring aName, int aDrive, bool aGenerateStub, bool aNonRemovable, |
63 bool aReadOnly, bool aNotRegister, bool aSUFlag, bool aGenerateRomStub) |
61 bool aReadOnly, bool aNotRegister, bool aSUFlag) |
64 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(aGenerateStub), |
62 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(aGenerateStub), |
65 iNonRemovable(aNonRemovable), iReadOnly(aReadOnly), iNotRegister(aNotRegister), |
63 iNonRemovable(aNonRemovable), iReadOnly(aReadOnly), iNotRegister(aNotRegister), iSUFlag(aSUFlag) {} |
66 iSUFlag(aSUFlag), iGenerateRomStub(aGenerateRomStub) {} |
|
67 |
64 |
68 public: |
65 public: |
69 std::wstring iFileName; // SIS file name |
66 std::wstring iFileName; // SIS file name |
70 int iTargetDrive; // Target drive |
67 int iTargetDrive; // Target drive |
71 bool iGenerateStub; // Whether to generate stub sis file for this sis or not. |
68 bool iGenerateStub; // Whether to generate stub sis file for this sis or not. |
72 bool iGenerateRomStub; // Whether to generate stub sis file for ROM Install. |
|
73 bool iNonRemovable; // Whether this is a non-removable SIS or not. |
69 bool iNonRemovable; // Whether this is a non-removable SIS or not. |
74 bool iReadOnly; // Whether this is a Readonly SIS or not. |
70 bool iReadOnly; // Whether this is a Readonly SIS or not. |
75 bool iNotRegister; // Whether to register the sis or not. |
71 bool iNotRegister; // Whether to register the sis or not. |
76 bool iSUFlag; // Whether SU flag is set for this or not. |
72 bool iSUFlag; // Whether SU flag is set for this or not. |
77 }; |
73 }; |
118 EFlagsCDriveSet = 0x0004, |
114 EFlagsCDriveSet = 0x0004, |
119 EFlagsZDriveSet = 0x0008, |
115 EFlagsZDriveSet = 0x0008, |
120 EFlagsSysDriveSet = 0x0010, |
116 EFlagsSysDriveSet = 0x0010, |
121 EFlagsStubDirectorySet = 0x0020, |
117 EFlagsStubDirectorySet = 0x0020, |
122 EFlagsConfigIniSet = 0x0040, |
118 EFlagsConfigIniSet = 0x0040, |
123 EFlagsDisableZDriveChecksSet= 0x0080, |
119 EFlagsDisableZDriveChecksSet= 0x0080 |
124 EFlagsRomInstallSet = 0x0100, |
|
125 EFlagsExtDriveSet = 0x0200, |
|
126 }; |
120 }; |
127 |
121 |
128 public: // Constructors & destructor |
122 public: // Constructors & destructor |
129 /** |
123 /** |
130 * Default Constructor |
124 * Default Constructor |