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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: How to load a DLL file during pre-install
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
Apr 13, 2011
04:31 PM
How to load a DLL file during pre-install
I have a DLL file to load during pre-install. I already have written a working custom code which loads it and utilize it. I have written it in a way that it search within default IA classpath during installation.
I have hacked bundled linux vm to be included in the path but can't get the same strategy working on windows. I am trying to resolve it in normal way.
The DLL file is only being used during the installation so I included it in DO_NOT_INSTALL in install steps. Yet, I have no idea how to access it. I tried to extract the file using given plugin but ended up with null pointer exception. Probably my syntax is wrong.
Any help/suggestions are welcomed. Thanks.
I have hacked bundled linux vm to be included in the path but can't get the same strategy working on windows. I am trying to resolve it in normal way.
The DLL file is only being used during the installation so I included it in DO_NOT_INSTALL in install steps. Yet, I have no idea how to access it. I tried to extract the file using given plugin but ended up with null pointer exception. Probably my syntax is wrong.
Any help/suggestions are welcomed. Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 13, 2011
08:14 PM
Updating to my own post....
I managed to get around with the issue with vm repackaging. Still it's not a legitimate way to resolve the problem. I need to deploy mac installer as well and I can't include vm with it by nature.
One thing I noticed during the testing is this DO_NOT_INSTALL thing. If I add any file but mark it under DO_NOT_INSTALL, does the file still appear in Resource1.zip file? That's how I expected it to be but I do not see it inside the zip file during installation.
I managed to get around with the issue with vm repackaging. Still it's not a legitimate way to resolve the problem. I need to deploy mac installer as well and I can't include vm with it by nature.
One thing I noticed during the testing is this DO_NOT_INSTALL thing. If I add any file but mark it under DO_NOT_INSTALL, does the file still appear in Resource1.zip file? That's how I expected it to be but I do not see it inside the zip file during installation.