This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Trap the Name if file being installed
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jun 03, 2008
02:40 PM
Trap the Name if file being installed
Hi ,
is there a way to catch the name of the file that is being installed in MSI Installscript project?
Something similar to OnInstallingFile(szFile) which doesnt work in MSI Installscript project.
TIA
is there a way to catch the name of the file that is being installed in MSI Installscript project?
Something similar to OnInstallingFile(szFile) which doesnt work in MSI Installscript project.
TIA
(6) Replies
‎Jun 03, 2008
06:03 PM
Alas, I'm not sure there is a way; when MSI handles file transfer, the InstallFiles action is evidently one atomic operation, and (apart from the GUI action-data) there's not really a hook for getting inside that operation.
(As always, I hope someone will prove that I don't know what I'm talking about...)
(As always, I hope someone will prove that I don't know what I'm talking about...)
‎Jun 03, 2008
08:01 PM
RobertDickau wrote:
Alas, I'm not sure there is a way; when MSI handles file transfer, the InstallFiles action is evidently one atomic operation, and (apart from the GUI action-data) there's not really a hook for getting inside that operation.
(As always, I hope someone will prove that I don't know what I'm talking about...)
Robert,
Thanks for your reply. I am still hoping there is a way!!
‎Jun 04, 2008
04:39 PM
If I understood the goal a little better, maybe I could help a bit more. The file must belong to acomponent so a customaction scheduled before the file copy with a conditional expression based on the action state of the component would fire just before the mass file copy. Is this really not granular enough?
‎Jun 04, 2008
07:36 PM
Christopher Painter wrote:
If I understood the goal a little better, maybe I could help a bit more. The file must belong to acomponent so a customaction scheduled before the file copy with a conditional expression based on the action state of the component would fire just before the mass file copy. Is this really not granular enough?
Chris,
I am actually trying to figure out a way to TRAP and RECORD name of the file that is being copied at the time of my product installation using MSI INSTALLSCRIPT project.
I am sorry I wasnt clear enough before, I hope this time you get the information you are looking for!!
TIA
‎Jun 05, 2008
02:18 PM
RobertDickau wrote:
Alas, I'm not sure there is a way; when MSI handles file transfer, the InstallFiles action is evidently one atomic operation, and (apart from the GUI action-data) there's not really a hook for getting inside that operation.
(As always, I hope someone will prove that I don't know what I'm talking about...)
Robert,
Is there a way I could get a return message on weather all files from my installer have been installed successfully or NOT? and perhaps name of the file that failed to copy?
TIA