Couple of issues on first Inno Setup of my software?

23 views
Skip to first unread message

Jeff Redington

unread,
Sep 10, 2025, 3:56:40 PMSep 10
to innosetup
1.  The shortcut created was not set to "Run as Administrator".  Program failed to run as it should, would not open to save new file because of this.

2.  I selected 3 folders: C:\ELECTRICAL DRAWINGS, C:\ELECTRICAL DRAWINGS\IMAGES, and C:\ELECTRICAL DRAWINGS\SYMBOLS.  Which my wish was for these to be installed on the new windows computer to be created and also fill with the example files.  

See attached setup script as to how I set this up?
Inno Setup Script -03.pdf

Eivind Bakkestuen

unread,
Sep 10, 2025, 5:32:26 PMSep 10
to inno...@googlegroups.com
Shortcuts are not created with "Run as Admin" by default, even if the setup runs as admin. In most cases creating such shortcuts is the wrong approach and you should fix your application.

2: How did you select the 3 folders? I can't see them in your script. Check your [Files] section and matching help on DestDir?

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/10c9543c-ce40-44b8-a2f4-edddc1a94a59n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages