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
- :
- dynamic suite - can't find it's assemblies?
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
May 22, 2006
07:32 PM
dynamic suite - can't find it's assemblies?
I have some code that will download a bunch of assemblies from a URL at runtime for a dynamic suite when the suite.exe file is run.
When testing this I have discovered some strange behavior. If the 'assemblies' folder does not exist in the same directory as the suite.exe when the file is launched, then the action to resolve the assemblies fails as it tries to look in the temp area where it extracted the setup.jar file. This happens even though the action to download the assemblies at runtime will create the 'assemblies' folder.
However, if I create an empty 'assemblies' folder then the suite will resolve its assemblies properly when the download action places them there. It doesn't bother looking in the area where the setup.jar file was placed. (why would it anyway?)
Even if I create an onBegin event to create an empty 'assemblies' folder, it will still fail for some reason. The only time that it works properly is when the empty folder is there before the .exe is launched.
Is this expected behaviour? Is there some way to fix this?
When testing this I have discovered some strange behavior. If the 'assemblies' folder does not exist in the same directory as the suite.exe when the file is launched, then the action to resolve the assemblies fails as it tries to look in the temp area where it extracted the setup.jar file. This happens even though the action to download the assemblies at runtime will create the 'assemblies' folder.
However, if I create an empty 'assemblies' folder then the suite will resolve its assemblies properly when the download action places them there. It doesn't bother looking in the area where the setup.jar file was placed. (why would it anyway?)
Even if I create an onBegin event to create an empty 'assemblies' folder, it will still fail for some reason. The only time that it works properly is when the empty folder is there before the .exe is launched.
Is this expected behaviour? Is there some way to fix this?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 22, 2006
08:12 PM
It appears that when the suite.jar is run, it updates its own embedded product.xml file with the following section:
If the assemblies folder is in place before the exe is run it updates with that location but if not then it uses the temp location in the 'installerRef' attribute.
Is it possible to somehow change this?
PROD NAME
true
prod_uuid1
1.0.0
C:\pathto assembly.dat file
location contained in product.inf file
If the assemblies folder is in place before the exe is run it updates with that location but if not then it uses the temp location in the 'installerRef' attribute.
Is it possible to somehow change this?
![](/skins/images/3D58A107233697761525865A3CEDC448/responsive_peak/images/icon_anonymous_message.png)