Archive: Installer not creating directory


Installer not creating directory
If this question has been asked & answered, I humbly apologize. However, I have searched the forums and all the relevant help files etc for every keyword I can think of and have still come up empty.

In a nutshell, what I am trying to do is create an installer that I can distribute to our other offices that will install all our custom MS Word templates in the right place. (C:\Users\username\AppData\Roaming\Microsoft\Templates\custom)

The computers we are distributing to are running Vista Home Premium.

I have tried every variation I can think of to get it to create the right directory, but I'm just getting nothing.

EDIT: Also, how do I attach more than 1 file to my post?


$APPDATA is already the roaming directory. $LOCALAPPDATA is the non-roaming directory. But $TEMPLATES will give you direct access to what you need.

You can attach a ZIP file with multiple files in it.


I tried using $TEMPLATES but that installs them to C:\Users\username\AppData\Roaming\Microsoft\Windows\Templates

That is not the default directory for templates. These people are completely computer illiterate so getting them to change the default directory is not an option.


and here is the second attempt seeing as it wouldn't let me combine them together


Well, that's where Windows says the templates should go. If it's not the right place for you, you can skip $TEMPLATES and go with $APPDATA\Microsoft\Templates\Custom.


http://img.photobucket.com/albums/v4.../more/woot.gif THANK YOU THANK YOU THANK YOU!! It works! It was the roaming/non-roaming thing that had me stumped.
http://img.photobucket.com/albums/v4.../23_30_109.gif