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), iNotRegister(false), iSUFlag(false) {} |
48 iNonRemovable(false),iReadOnly(false), iNotRegister(false), iSUFlag(false) {} |
49 |
49 |
50 /** |
50 /** |
51 * Constructor |
51 * Constructor |
52 */ |
52 */ |
53 InstallSISFile(std::wstring aName, int aDrive, bool aSUFlag) |
53 InstallSISFile(std::wstring aName, int aDrive, bool aSUFlag) |
54 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(false), |
54 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(false), |
55 iNonRemovable(false), iNotRegister(false), iSUFlag(aSUFlag) {} |
55 iNonRemovable(false),iReadOnly(false), iNotRegister(false), iSUFlag(aSUFlag) {} |
56 |
56 |
57 /** |
57 /** |
58 * Constructor |
58 * Constructor |
59 */ |
59 */ |
60 InstallSISFile(std::wstring aName, int aDrive, bool aGenerateStub, bool aNonRemovable, |
60 InstallSISFile(std::wstring aName, int aDrive, bool aGenerateStub, bool aNonRemovable, |
61 bool aNotRegister, bool aSUFlag) |
61 bool aReadOnly, bool aNotRegister, bool aSUFlag) |
62 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(aGenerateStub), |
62 : iFileName(aName), iTargetDrive(aDrive), iGenerateStub(aGenerateStub), |
63 iNonRemovable(aNonRemovable), iNotRegister(aNotRegister), iSUFlag(aSUFlag) {} |
63 iNonRemovable(aNonRemovable), iReadOnly(aReadOnly), iNotRegister(aNotRegister), iSUFlag(aSUFlag) {} |
64 |
64 |
65 public: |
65 public: |
66 std::wstring iFileName; // SIS file name |
66 std::wstring iFileName; // SIS file name |
67 int iTargetDrive; // Target drive |
67 int iTargetDrive; // Target drive |
68 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. |
69 bool iNonRemovable; // Whether this is a non-removable SIS or not. |
69 bool iNonRemovable; // Whether this is a non-removable SIS or not. |
|
70 bool iReadOnly; // Whether this is a Readonly SIS or not. |
70 bool iNotRegister; // Whether to register the sis or not. |
71 bool iNotRegister; // Whether to register the sis or not. |
71 bool iSUFlag; // Whether SU flag is set for this or not. |
72 bool iSUFlag; // Whether SU flag is set for this or not. |
72 }; |
73 }; |
73 |
74 |
74 |
75 |