Inst MSI from Relative Path , propery settings
Need to do custom action with an MSI + MST.
I used ; "Install MSI from Relative path"
a) Custom action name : action
b) Installation to run : [path]MyMSI.msi
c) Property settings: TRANSFORMS=[path]myMST.mst
got an error during the installation on my custom action. Im pretty sure its my MST syntax.
*Tried to merge my MST in my msi with MSITRAN.exe , it doesnt work (vendor msi)
any suggestions ?
I used ; "Install MSI from Relative path"
a) Custom action name : action
b) Installation to run : [path]MyMSI.msi
c) Property settings: TRANSFORMS=[path]myMST.mst
got an error during the installation on my custom action. Im pretty sure its my MST syntax.
*Tried to merge my MST in my msi with MSITRAN.exe , it doesnt work (vendor msi)
any suggestions ?
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
nheim
16 years ago
Hi Yannick,
where did you call this 'Custom Action'?
Be aware, that only on MSI setup can be started at a certain time.
That means, your CA only runs from the 'InstallUISequence' table or from the 'InstallExecuteSequence' if your action is called after 'InstallFinalize'!
Can you live with this restrictions?
Regards, Nick
where did you call this 'Custom Action'?
Be aware, that only on MSI setup can be started at a certain time.
That means, your CA only runs from the 'InstallUISequence' table or from the 'InstallExecuteSequence' if your action is called after 'InstallFinalize'!
Can you live with this restrictions?
Regards, Nick
Posted by:
princecraft
16 years ago
Guys, it really not work on my side. Is somebody has a .WSE example with a MSI inlcude in an other MSI via a custom action like Inst MSI from relative path. It compile correctly but the msi attached in my original msi start with an error. I insert it after the InstallFinalize CA.
Where I can get a simply example of that ?
[email=yannick_bouchard@hotmail.com]yannick_bouchard@hotmail.com[/email]
thks
Where I can get a simply example of that ?
[email=yannick_bouchard@hotmail.com]yannick_bouchard@hotmail.com[/email]
thks
Posted by:
nheim
16 years ago
Posted by:
princecraft
16 years ago
Install MSI from Relative Path
*Details tab
Custom Action Name : ACTION1
Installation to Run : C:\test\orca.msi ( file present on my test wks)
property settings : <none>
*Location tab
Sequence : Normal execute Immediate/Deferred
.
..
...
InstallFinalize
ACTION1 [no condition]
RemoveExistingProducts
WiseCleanup
*Properties Tab
in-Script options : Immediate Execution
Processins : Synchronous
Scheduling Option : Always Execute
Error message that I have :
Installer Information
Error 1713. Test cannot install one of its required products. Contact your technical support group.
*Details tab
Custom Action Name : ACTION1
Installation to Run : C:\test\orca.msi ( file present on my test wks)
property settings : <none>
*Location tab
Sequence : Normal execute Immediate/Deferred
.
..
...
InstallFinalize
ACTION1 [no condition]
RemoveExistingProducts
WiseCleanup
*Properties Tab
in-Script options : Immediate Execution
Processins : Synchronous
Scheduling Option : Always Execute
Error message that I have :
Installer Information
Error 1713. Test cannot install one of its required products. Contact your technical support group.
Posted by:
nheim
16 years ago
Hi Yannick,
your settings produce a so called "nested installation", which nowadays is strongly discouraged by MS.
In the actual SDK docu, they are not mentioned anymore.
If you want walk this route anyway, read this: http://support.microsoft.com/kb/306439.
Other ways, change the CA to one oft the the "Execute Program from..." CA's.
you need to make this CA asynchronous and set it to "no wait fo completion".
That would mean: To call a line like this "msiexec /i "property of the installed.msi file".
Hope this gives you some ideas.
Regards, Nick
your settings produce a so called "nested installation", which nowadays is strongly discouraged by MS.
In the actual SDK docu, they are not mentioned anymore.
If you want walk this route anyway, read this: http://support.microsoft.com/kb/306439.
Other ways, change the CA to one oft the the "Execute Program from..." CA's.
you need to make this CA asynchronous and set it to "no wait fo completion".
That would mean: To call a line like this "msiexec /i "property of the installed.msi file".
Hope this gives you some ideas.
Regards, Nick
Posted by:
princecraft
16 years ago
Nick,
Thanks it worked with Install program from Destination.
I selected ASYNC,NO WAIT. If not my MSI pop me a msg saying that an ohter process is already running.
New poblem ; I have 6 MSI to merge in one MSI !
Because I selected Async,No Wait, My master MSI is close. Then it can not start the 5 other MSI. Or it will start it in parralle (not good).
Any idea instead of opening all vendor MSI and add to each of them a CA calling the other one?
Thanks it worked with Install program from Destination.
I selected ASYNC,NO WAIT. If not my MSI pop me a msg saying that an ohter process is already running.
New poblem ; I have 6 MSI to merge in one MSI !
Because I selected Async,No Wait, My master MSI is close. Then it can not start the 5 other MSI. Or it will start it in parralle (not good).
Any idea instead of opening all vendor MSI and add to each of them a CA calling the other one?
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.