|
#1
|
|||
|
|||
|
Adding Root Level Folder
How do I add a root level folder? For example I need to create the folder C:\My Folder\. I cannot see a way to do this. I can only add it as a subfolder of the builtin root level folders.
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
|
#2
|
||||
|
||||
|
Dermot,
Windows Installer doesn't like doing that very much. In general, it is preferred that you use a mapped shell folder such as Program Files, etc. However, if you really need to do that, here is how: - Setup the project normally with INSTALLDIR being [ProgramFilesFolder]My Product (or whatever) - Add a Set Folder custom action that sets INSTALLDIR to "C:\My Folder" (no quotes) - In the attributes tab, set the scheduling to be Immediate - First Sequence - Add two timing entries - one for InstallUISequence and one for InstallExecuteSequence - make them both happen After "CostFinalize" - also, use the condition "NOT Installed" See the attached project file for an example |
|
#3
|
||||
|
||||
|
There's also a couple Windows Installer properties that might be useful in setting up your custom action or related folder search.
__________________
--[[ Indigo Rose Software Developer ]] |
|
#4
|
|||
|
|||
|
Thanks Brett and Lorne. That was very helpfull. I think can achieve what I want now.
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lock Root Folder ? | twilford | AutoPlay Media Studio 6.0 | 1 | 05-31-2007 02:04 AM |
| IF else statement | synistics | AutoPlay Media Studio 6.0 | 3 | 04-21-2007 01:33 PM |
| cookies | goukilord10 | AutoPlay Media Studio 5.0 | 6 | 05-20-2005 05:08 PM |
| Question about running cdrom image from root level with .am3 | abduly | AutoPlay Media Studio 4.0 | 1 | 09-11-2003 12:36 PM |
| INFO: The Explore Button on the Distribution Folder Dialog | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-11-2002 01:06 PM |
All times are GMT -6. The time now is 09:04 PM.








Linear Mode

