Register Dll's before Install Welcome sequence!!!
2. In the Ready to install Sequence, check for some conditions and install the prequisites like: Install the 1st pre-req, then execute the licensing msi(since licensing component is dependent on the 1st pre-req), then the remaining pr-reqs.
3. After these, the actual installation proceeds.
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
nheim
16 years ago
Hi Vijay,
things like that are very bad practice and will never work under Vistas UAC!
Rethink the situation: Most likely you don't need that licensing stuff this early in the installation.
The first time licensing actually is used, is when you start the app for the first time, isn't it?
If there are any dependencies in the main MSI, which check for the presence of the licensing stuff (condition table, custom actions), just disable them.
Regards, Nick
things like that are very bad practice and will never work under Vistas UAC!
Rethink the situation: Most likely you don't need that licensing stuff this early in the installation.
The first time licensing actually is used, is when you start the app for the first time, isn't it?
If there are any dependencies in the main MSI, which check for the presence of the licensing stuff (condition table, custom actions), just disable them.
Regards, Nick
Posted by:
vijayakumar
16 years ago
any dependencies in the main MSI, whichcheck for the presence of the licensing
Posted by:
nheim
16 years ago
Hi Vijay,
looks like a paranoid application creator/vendor to me :-)
One possibility would be to chain the MSI's together with a setup.exe wrapper.
If you use a deployment system, you just install the licensing MSI as prerequisite.
IMHO, using two MSI's is a better way in this case, than breaking MSI's design rules.
In the future, this should be possible, when WI 4.5 introduces MSI-chaining.
Regards, Nick
looks like a paranoid application creator/vendor to me :-)
One possibility would be to chain the MSI's together with a setup.exe wrapper.
If you use a deployment system, you just install the licensing MSI as prerequisite.
IMHO, using two MSI's is a better way in this case, than breaking MSI's design rules.
In the future, this should be possible, when WI 4.5 introduces MSI-chaining.
Regards, Nick
Posted by:
vijayakumar
16 years ago
Thanks for the suggestion. But, the main installation should continue only if the license key entered is valid.
Posted by:
anonymous_9363
16 years ago
Posted by:
nheim
16 years ago
Hi Vijay,
i still wouldn't do it. What are you gaining from this:
- One file. You have that already with the wrapper.
- New problems: If you copy/register/call exe/dll files outside of the MSI script, you will encounter permission problems.
- Vistas UAC will most likely kick in an trow a popup.
if you allways use it with the dialogs you could call the license MSI early in the "InstallUISequence" with a CA.
Another not so elegant way could be to to the license check at the end, right before "InstallFinalize". Then, you would have to fire a Rollback CA, if the license check went bad.
But if you want to do it the "hard way", use a script to do this licensing stuff and go a head.
@Ian: That would be change nothing on the problem, because the license checking should be done in front of the installation process.
Regards, Nick
i still wouldn't do it. What are you gaining from this:
- One file. You have that already with the wrapper.
- New problems: If you copy/register/call exe/dll files outside of the MSI script, you will encounter permission problems.
- Vistas UAC will most likely kick in an trow a popup.
if you allways use it with the dialogs you could call the license MSI early in the "InstallUISequence" with a CA.
Another not so elegant way could be to to the license check at the end, right before "InstallFinalize". Then, you would have to fire a Rollback CA, if the license check went bad.
But if you want to do it the "hard way", use a script to do this licensing stuff and go a head.
@Ian: That would be change nothing on the problem, because the license checking should be done in front of the installation process.
Regards, Nick
Posted by:
AngelD
16 years ago
Posted by:
vijayakumar
16 years ago
handle the
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.