I need to create an empty under the root drive, live "c:\MyFolder"
I tried to use the CreateFolder and the Directory tables, but I did not have success to use the Directory table. I do not know how to create a new entry in this table to point to a directory like c:\MyFolder.
I could just create directories under the INSTALLDIR directories, which is [ProgramFilesFolder]\MyApplication.
Please, can anybody help me?
Thank you,
Ajawl
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.
Create Empty Folder
Started by
Ajawl
, Oct 23 2002 10:56
1 reply to this topic
Posted 23 October 2002 - 13:07
Try
Directory: MyDir
Directory_Parent: WindowsVolume
DefaultDir: MyName~1|MyNameIsLong
WindowsVolume is the drive windows is installed on.
It would be better to create your directory under the AppDataFolder or the LocalAppDataFolder. You need a good reason to mess up your clients root directory. So leave it alone. Apps can find the app data directories easily with SHGetFolderPath (or SHGetSpecialFolderPath)
eg,
Directory: MyDir
Directory_Parent: MyCompanyDir
DefaultDir: MyName~1|MyNameIsLong
Directory: MyCompanytDir
Directory_Parent: AppDataFolder
DefaultDir AJAWLSOF|AJAWLSoftware
Directory: MyDir
Directory_Parent: WindowsVolume
DefaultDir: MyName~1|MyNameIsLong
WindowsVolume is the drive windows is installed on.
It would be better to create your directory under the AppDataFolder or the LocalAppDataFolder. You need a good reason to mess up your clients root directory. So leave it alone. Apps can find the app data directories easily with SHGetFolderPath (or SHGetSpecialFolderPath)
eg,
Directory: MyDir
Directory_Parent: MyCompanyDir
DefaultDir: MyName~1|MyNameIsLong
Directory: MyCompanytDir
Directory_Parent: AppDataFolder
DefaultDir AJAWLSOF|AJAWLSoftware
Ian Blake
(Currently Unemployed)
(Currently Unemployed)