We help IT Professionals succeed at work.
Get Started

I need a help with inno setup

hidrau
hidrau asked
on
1,306 Views
Last Modified: 2010-04-21
Hello guys

I am having a problem when I install my system on Windows Vista.
I need to give all rights to the user on the folder of the system and this has being my problem.
In the main folder, the system needs to create some files when it runs, but the windows vista
doesn't allow it. Then I need to access the folder, on the security property I give all rights to the
user and the system works fine.

Please, take a look at code bellow so that you can see if I am giveng the correct form the rights on the folders.

Thanks very much



[Languages]
Name: "eng"; MessagesFile: "compiler:BrazilianPortuguese.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\TeachMeNow\englishtravel.exe"; DestDir: "{app}"; Flags: ignoreversion; permissions: everyone-full
;Source: "C:\TeachMeNow\palestra.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\TeachMeNow\BSS\*"; DestDir: "{app}\BSS\"; Flags: ignoreversion; permissions: everyone-full
Source: "C:\TeachMeNow\CSpeechKit.dll"; DestDir: "{app}"; Flags: ignoreversion
;Source: "C:\TeachMeNow\qtintf.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\TeachMeNow\config.ini"; DestDir: "{app}"; Flags: ignoreversion; permissions: everyone-full
Source: "C:\TeachMeNow\Merlin.aal"; DestDir: "{app}"; Flags: ignoreversion; permissions: everyone-full
Source: "C:\TeachMeNow\Engines\Sapi4\spchapi.exe"; DestDir: "{app}\Engines\Sapi4\"; Flags: ignoreversion; permissions: everyone-full
Source: "C:\TeachMeNow\Engines\Brazilian\lhttsptb.exe"; DestDir: "{app}\Engines\"; Flags: ignoreversion
Source: "C:\TeachMeNow\Engines\msttsl.exe"; DestDir: "{app}\Engines\"; Flags: ignoreversion; permissions: everyone-full
;Source: "C:\TeachMeNow\ManualHelp\*"; DestDir: "{app}\ManualHelp\"; Flags: ignoreversion
Source: "C:\TeachMeNow\wav\*"; DestDir: "{app}\wav\"; Flags: ignoreversion recursesubdirs createallsubdirs; permissions: everyone-full
Source: "C:\TeachMeNow\videos\*"; DestDir: "{app}\videos\"; Flags: ignoreversion recursesubdirs createallsubdirs; permissions: everyone-full
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[dirs]
Name: "{app}"; Permissions: everyone-modify
Name: "{app}\wav"; Permissions: everyone-modify
Name: "{app}\Bss"; Permissions: everyone-modify
Name: "{app}\videos"; Permissions: everyone-modify


[Icons]
Name: "{group}\Teach Me Now"; Filename: "{app}\englishtravel.exe"
Name: "{group}\{cm:UninstallProgram,Teach Me Now}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\Teach Me Now"; Filename: "{app}\englishtravel.exe"; Tasks: desktopicon; WorkingDir: "{app}"
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Teach Me Now"; Filename: "{app}\englishtravel.exe"; Tasks: quicklaunchicon

[Run]
;Filename: "{app}\Agentes\Merlin\Merlin.exe"; Description: "Instalando o agente"; Flags:  skipifsilent
Filename: "{app}\Engines\Sapi4\spchapi.exe"; Description: "Programinstalando o sapi 4"; Flags:  skipifsilent
Filename: "{app}\Engines\msttsl.exe"; Parameters: "/Q" ; Description: "Instalando as vozes"; Flags:  skipifsilent
Filename: "{app}\Engines\lhttsptb.exe"; Parameters: "/Q" ; Description: "Instalando as vozes"; Flags:  skipifsilent
Filename: "{app}\englishtravel.exe"; Description: "{cm:LaunchProgram,Teach Me Now}"; Flags: nowait postinstall skipifsilent
Comment
Watch Question
Top Expert 2007
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE