Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: lox1520 on December 28, 2006, 04:50:04 PM

Title: Keeps Installing in a wrong dir
Post by: lox1520 on December 28, 2006, 04:50:04 PM
Maybe this is a dumb thing but im starting in this Inno thing.
 
Im using Inno 5.1.9, and in my project the DefaultDirName is DefaultDirName=C:/Archivos de Programa/Loxley Cafe Lite or DefaultDirName={sd}/Archivos de Programa/Loxley Cafe Lite
 
The thing is that i need to install in a folder named Loxley Cafe Lite in a folder named Archivos de Programa (is like Program Files folder but in spanish) in the C: directory hard disk, and the trouble here is that inno setup keeps installing in the desktop  
 
Hope someone can help me
 
Happy Holidays
Title: Keeps Installing in a wrong dir
Post by: Randem on December 28, 2006, 05:15:08 PM
Why not use InnoScript to create your script and you can have full control over that. Currently you use the Inno Setup Wizard (Not as good).
 
What you want to include something like this in the [Setup] section.
 
DefaultDirName={pf}Randem SystemsInnoScriptInnoScript 6.0
 
Where you can change the parameter for Program Files ({pf}) to where you want the app to be installed.
 
BTW: {pf} should be the default language for Program Files.