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
- :
- App Paths and Windows 2000
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
‎Jul 01, 2008
09:45 AM
App Paths and Windows 2000
We are attempting to place all our support files into sub-folders under the main INSTALLDIR and then setting the applications App Paths entries to have the apps search for dependencies from this location.
On XP and Vista this works correctly, but when the application runs on Windows 2000 it fails to find the dependency files!!!
Does Windows 2000 not support the App Paths and if not then does this mean that all supporting dependency files will need to go into the root of the INSTALLDIR?
If there is anyway for the app to load it's dependencies from the support sub-folder then could someone suggest how that can be done.
Thanks,
On XP and Vista this works correctly, but when the application runs on Windows 2000 it fails to find the dependency files!!!
Does Windows 2000 not support the App Paths and if not then does this mean that all supporting dependency files will need to go into the root of the INSTALLDIR?
If there is anyway for the app to load it's dependencies from the support sub-folder then could someone suggest how that can be done.
Thanks,
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2008
10:07 AM
I am happy for you that this works at all. If you are talking about DLL's then when we tried to use this method we got no results.
If you do a search with "dll app path" in MSDN you will see in the first returned link that the dll search order always has the last condition that app paths are not used. There is also some other info in that file that may be of interest.
.
If you do a search with "dll app path" in MSDN you will see in the first returned link that the dll search order always has the last condition that app paths are not used. There is also some other info in that file that may be of interest.
.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2008
10:25 AM
No this is only for .exe files and their dependencies. So again if you place the .exe file name and set it's correct App Paths entries then it will work, it is just on 2000 that we are running into an issue.
Oh and by the way we found out that the App Paths will only work if the App that is launched is launched with Shell Execute. If the app is launched be Create Process then it will not use the App Paths.
So we even found out that apps launched at the end of the install would fail to use the App Paths entry. So we figured that InstallShield could launch the app using Create Process instead of Shell Execute. So we had to call another method in the Launch command so that the install would launch the app at the end of the install.
Anyways we'll have to look into the Windows 2000 issue a bit more before deciding if we have to move all the supporting files back into the root of the main INSTALLDIR.
Thanks,
Oh and by the way we found out that the App Paths will only work if the App that is launched is launched with Shell Execute. If the app is launched be Create Process then it will not use the App Paths.
So we even found out that apps launched at the end of the install would fail to use the App Paths entry. So we figured that InstallShield could launch the app using Create Process instead of Shell Execute. So we had to call another method in the Launch command so that the install would launch the app at the end of the install.
Anyways we'll have to look into the Windows 2000 issue a bit more before deciding if we have to move all the supporting files back into the root of the main INSTALLDIR.
Thanks,