Admin user always prehend initial user

Posted by StepH on Stack Overflow See other posts from Stack Overflow or by StepH
Published on 2009-07-04T16:56:22Z Indexed on 2010/03/25 17:33 UTC
Read the original article Hit count: 409

Filed under:

Using an InnoSetup script (that seems to work fine under XP/Vista), i've a strange behavior under Seven RC:

here is the [Files] section:

[Files]
Source: *.ico; DestDir: {app}\bin; Flags: ignoreversion
Source: dist\*.*; DestDir: {app}\bin; Flags: ignoreversion
Source: catalog\*.*; DestDir: {userappdata}\JetWorksheet\catalog; Flags: recursesubdirs createallsubdirs onlyifdoesntexist uninsneveruninstall
Source: wizards\*.*; DestDir: {userappdata}\JetWorksheet\wizards; Flags: recursesubdirs createallsubdirs onlyifdoesntexist uninsneveruninstall
Source: images\*.*; DestDir: {userdocs}\JetWorksheet\images; Flags: recursesubdirs createallsubdirs
Source: wordlists\*.*; DestDir: {userdocs}\JetWorksheet\wordlists; Flags: recursesubdirs createallsubdirs

The problem is:

In place of using the {userappdata} of the user that started the setup, all the data goes to the "Admin" directories...

I'm surely missing somethings...

© Stack Overflow or respective owner

Related posts about inno-setup