Hi,
Does anybody know if it is possible to change a component attribute "Remote Installation" from "optional" to "local only" based on a type of source media.
- I should allow to choose ADDSOURCE or ADDLOCAL if the installation is done from Administrative installation or from a CD immage.
- I should allow only ADDLOCAL if the installation runs from a CD directly.
Thanks a lot,
Galina
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Conditionally change component attributes
Started by
Galina
, Oct 31 2007 15:15
5 replies to this topic
Posted 31 October 2007 - 21:34
I understood that I need to check a condition when SourceDir is in a removable volume or CD ROM volume (didn't find DVD volume).
Who knows how to check it, pleeeeeeeese help!!!!!!
Who knows how to check it, pleeeeeeeese help!!!!!!
Posted 01 November 2007 - 11:08
If you build a release with compressed media (CABs) you should automatically get this functionality, as described in my article Custom Setup Options in Windows Installer
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 November 2007 - 13:46
Hi Stefan,
Thanks a lot for your answer.
I can not build a release with compressed media. The files on the CD should be accessible.
Is it possible to find if SourceDir is read-only or the files in SourceDir are read-only?
Thanks,
Galina
Thanks a lot for your answer.
I can not build a release with compressed media. The files on the CD should be accessible.
Is it possible to find if SourceDir is read-only or the files in SourceDir are read-only?
Thanks,
Galina
Posted 02 November 2007 - 01:33
Look at the function GetDriveType (a Win32 function, but InstallScript has a similar function) - it tells you whether a drive is a network drive, fixed disk, RAM disk, or removable disk.