inno setup - replace same shortcut from desktop innosetup -
there shortcut on desktop same name installed setup setupfactory( want replace inno). when install using setup created innosetup creates new icon rather replacing current 1 . added [installdelete] section doesnt work. checked shortcut properties. diff found 1 shortcut has owner administrators group , other 1 user. both installed same user. reason? there workaround this? or can check if shortcut same name exists? thank you
both pointing same exe in same path. m installing in windows 7
in case should check location of both shortcuts.
probably 1 of them created in public desktop folder (for users) - {commondesktop} , second presonalized current user desktop folder - {userdesktop}.
a.
[icons] name: "{commondesktop}\{#myappname}"; filename: "{app}\{#myappexename}"; workingdir: "{app}"; tasks: desktopicon b.
[icons] name: "{userdesktop}\{#myappname}"; filename: "{app}\{#myappexename}"; workingdir: "{app}"; tasks: desktopicon
Comments
Post a Comment