To get a video to run off the CD, I use a string value
[SOURCEDIR]\Demos and set the path in the registry.
The [SOURCEDIR]\Demos resolves to (say) D:\Demos in the registry and the video runs from the CD ROM drive.
The problem is that when the repair option in the dialog is used, the drive letter 'D:\' disappears from the registry and I'm left with 'Demos'.
I have tried changing the case to [SourceDir] and have also tried using [SETUPEXEDIR]. Both enter the correct drive letter in the registry but the drive letter disappears after a repair.
Any suggestions?
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.
SOURCEDIR & it's value in registry after a Repair
Started by
Tyler Curtis
, Jun 22 2005 01:10
2 replies to this topic
Posted 22 June 2005 - 16:21
SOURCEDIR only gets set during an install. It gets set by the ResolveSource action. If you try to run ResolveSource on anything other then an install, you will usually get a prompt asking for the CD media.
Instead of using SOURCEDIR get the value from the registry instead. Or if you don't need the value to repair the registry, jsut set a condition on that registry action to only be set during an install.
Instead of using SOURCEDIR get the value from the registry instead. Or if you don't need the value to repair the registry, jsut set a condition on that registry action to only be set during an install.
Posted 22 June 2005 - 19:05
> set a condition on that registry action to only be set during an install.
I'll go after it this way,
Thanks for the help!
I'll go after it this way,
Thanks for the help!
Thanks!
Tyler Curtis
Craftsman Book Company
Tyler Curtis
Craftsman Book Company