I'm About to Give Up on InnoScript - Part 2

Started by Randem, December 22, 2007, 10:34:58 AM

Previous topic - Next topic

Randem

In Inno Setup use the replaceable item {commonappdata} for All Users.

Randem

Hmmm, I will have to look at that. BTW the latest Beta version in on the site...
 
And I put together a small project that could help you with your path issues...
 

Tom Buggy

Another question - why does the generated script include {userappdata}-related entries in {UninstallDelete] and [Dirs} when {userappdata} is not used in the script?

Tom Buggy

In case others are following this thread (God bless them), a typo -- it's Users (plural) in the Vista path not User.

Tom Buggy

Your Appdata paths:  
 
XP: C:Documents and SettingsRalph JamesApplication Data  
 
Vista: C:UserRalph JamesAppDataRoaming  
 
Yes, I get those too (with my name).  But again, I want a SINGLE PLACE FOR ALL USERS who all use the same data.
 
The other information was meant to get another folder or folders under the last folder in the APPDATA Path (I guess only one is required).  I used what was generated in the script when {userappdata} was used.  I see now that all that isn't necessary or desirable.

Randem

If you did not know about Ctrl-C to Cut then you want to know about Ctrl-V to Paste. You should not hardcode anything. There are system API's that can get you the OS dependent information since the files are going to end up in different locations and your program should not care which as long as they follow a standard.