- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installdir depending on Operating System
- 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
Installdir depending on Operating System
Hallo,
I am new to Installshield. I found nothing on the forums/internet and tried to find out myself. I have to build a package which discerns between Win7 and Win10. With Windows 7 everything has to be thrown in one folder on 😧 and create a service. With Windows 10 the files are split up between PROGRAMFILESFOLDER\INSTALLDIR2 and the same folder for Win7 on D:. The exe-file used for the service under Win10 now lies in a subfolder of PROGRAMFILESFOLDER\INSTALLDIR2.
I have tried to create seperate features with the Condition VersionNT=601 for Win7 and VersionNT=1000 for Win10 respectively and defining for each feature a different destination. But it doesn't work for Win10. Under Win10 everything goes to 😧 (which is the default INSTALLDIR defined under General Information -> INSTALLDIR). This project file as it is for now would move everything either to D:\ or PROGRAMFILESFOLDER\INSTALLDIR2.
so my 2 questions here are:
- how do I properly make the Setup behaviour OS dependent?
- how do I split up the destination folders while assuring the service is still installed and working with any configuration?
Please advise. Thank you very much!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @joerg_arnold ,
Hope you got answer for first question,answering to your second question?
- how do I split up the destination folders while assuring the service is still installed and working with any configuration?
- Split can happen with component based installation so that INSTALLDIR can vary between components
- Say you create feature condition with VersionNT value 601 & 603 and add components to it
- Change component INSTALLDIR of components and add file to those for which you need a split
Hope that helps,
Thanks,
Jenifer