For example: DefaultDirName= will not work.' #13#13 'You should probably go back and browse for a valid Battlezone II folder (and not any subfolders like addon).', mbError, MB_OK) The first thing I do is need to read the registry value from the program, and if that registry value is absent then I select that program's default directory. I do a similar thing with my installer already. I then just trust that the user selects the correct path The user should afterwards continue to the Ready to Install page. If it does not exist, the user should be prompt for the path to "My program". If it exist, the user should just continue to the Ready to Install page. To make sure that the default dir exist (c:\test\My program) When the user press Next, there should be a check. This should be shown as the path on the "Select Destination Location" page In case the exe file is installed somewhere else. If the exe file is not found I would like the user to browse for the path. How can I search for an existing exe file and then use that directory for my installer ?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |