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
- :
- Managed Custom Action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 17, 2011
06:41 AM
Managed Custom Action
Hi! sorry for posting again but i really need help from someone.
I'm trying to write a managed custom action that will get me the files in components that are going to be installed. im trying to use InstallShield.Interop.Msi dll to do it but it cant give me components that have not been yet installed. Do you familiar with a function that can retrieve the components and their files while installing???
I'll Accept any answer, its really urgent!
Thanks in Advance! Lior.
I'm trying to write a managed custom action that will get me the files in components that are going to be installed. im trying to use InstallShield.Interop.Msi dll to do it but it cant give me components that have not been yet installed. Do you familiar with a function that can retrieve the components and their files while installing???
I'll Accept any answer, its really urgent!
Thanks in Advance! Lior.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 18, 2011
08:18 AM
Good recommendation for you - forget InstallShield .NET custom actions.
Use WIX Deployment Tools Foundation ones. They are MSI DLLs for InstallShield. They have excellent error handling and can include referenced assemblies if they are not in GAC.
Personally I have business success with this.
Use WIX Deployment Tools Foundation ones. They are MSI DLLs for InstallShield. They have excellent error handling and can include referenced assemblies if they are not in GAC.
Personally I have business success with this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2011
02:34 AM
First of all thanks! it is really helpfull
Now what I need to know is how can i get the files for each component that are going to be installed..Is there a way to retrieve thier name and pathes??
Thanks!
Now what I need to know is how can i get the files for each component that are going to be installed..Is there a way to retrieve thier name and pathes??
Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 20, 2011
08:49 AM
Use LINQ for Windows Installer in DTF - my suggestion. It should help. Of course if you familiar with LINQ itself. 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2011
09:38 AM
the session holds database property that keeps all information on the current msi( its actually the database in the direct editor in the installshield). than you can execute query(database method) to retrieve the filenames from File table.
Actually you can retrieve that way any information on the msi in run time.
Thanks to everyone that helped anyway!
Actually you can retrieve that way any information on the msi in run time.
Thanks to everyone that helped anyway!