|
|
#1 |
|
Junior Member
Join Date: Feb 2010
Posts: 6
|
Dear all,
I am currently experiencing problem with my installation package created with NSIS Compiler V2.3. The problem has been identified only by a user with Windows 7. If the desktop and QuickLaunch shortcuts are well created, he has also noticed that the shortcut to the application is also created in: c:\users\Administrator.WIN-XXX\Desktop\ and : c:\users\Administrator.WIN-XXX\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\ where XXX is the real name of his Windows account. To create the short cut, I have used the following code: code: Is it a bug with my code or something normal with Windows 7? Thank you very much for your kind support Best regards, Cyrille |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
Those paths looks correct to me, what is the actual problem? (Also, 2.3 is kind of old, you might want to upgrade so you can use RequestExecutionLevel)
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
afaik there is no more quicklaunch in win7
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Mar 2003
Posts: 571
|
Windows 7 still supports QuickLaunch - all you have to do is enable it. The first hit in a Google search gave me step-by-step instructions for enabling it.
|
|
|
|
|
|
#6 | |
|
Major Dude
Join Date: Mar 2003
Posts: 571
|
Quote:
|
|
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Feb 2010
Posts: 6
|
Quote:
I am going to check the forum about the use of RequestExecutionLevel. Thanks again ![]() Cyrille |
|
|
|
|
|
|
#8 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
I'm guessing the Administrator.WIN prefix could have been added by windows itself during a reinstall or account name change, either way, NSIS just uses what windows tells it to use as the shell path
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Feb 2010
Posts: 6
|
I would bet on the account kept from an updated from a previous version of Windows
|
|
|
|
|
|
#10 | |
|
Junior Member
Join Date: Feb 2010
Posts: 6
|
Quote:
Thank you very much Cyrille |
|
|
|
|
|
|
#11 | |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
Quote:
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Feb 2010
Posts: 6
|
Ok, so I suppose the admin rights are only necessary when the installer writes in the registry. Is it correct?
|
|
|
|
|
|
#13 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
Its necessary if you want to do admin things (DOH) like writing to HKLM or $programfiles/$windir etc
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Feb 2010
Posts: 6
|
Ok, thank you very much Anders. It is very clear now
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|