Create .exe driver setup from .inf file

197 views
Skip to first unread message

Robert Petrovskiy

unread,
Sep 1, 2023, 5:50:28 AM9/1/23
to innosetup
Hello, I have a problem with installation driver.  I attached file .iss where in section [RUN] I`m trying to install driver for USB device. For this operation I need to get admin permission and this im actualy doing in my .bat file but when it started script stuck in infinity loop. Is it possible to start .bat in section [RUN] with admin permission ? 
iss file.png
script bat.png

Eivind Bakkestuen

unread,
Sep 1, 2023, 7:17:43 AM9/1/23
to inno...@googlegroups.com
Have you had a look at the documented parameters for [RUN] section entries?

On Fri, Sep 1, 2023 at 7:50 PM Robert Petrovskiy <stasdenyse...@gmail.com> wrote:
Hello, I have a problem with installation driver.  I attached file .iss where in section [RUN] I`m trying to install driver for USB device. For this operation I need to get admin permission and this im actualy doing in my .bat file but when it started script stuck in infinity loop. Is it possible to start .bat in section [RUN] with admin permission ? 

--
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 on the web visit https://groups.google.com/d/msgid/innosetup/cf2c7919-0dc7-4025-a7e0-69bca48e82b4n%40googlegroups.com.

Robert Petrovskiy

unread,
Sep 1, 2023, 7:41:11 AM9/1/23
to innosetup
Yes, I read. If I missed something can you explain where I made a mistake ? Thanks in advanced.

пʼятниця, 1 вересня 2023 р. о 14:17:43 UTC+3 Eivind Bakkestuen пише:

Wilenty org

unread,
Sep 1, 2023, 4:47:57 PM9/1/23
to innosetup
Hello Robert Petrovskiy,
if you expect real help, please share an example (or part of it) that we can test it, files needed:
1) the driver to install (x86/x64)
2) the batch script you use
3) working *.iss script, or a part of it, that we can compile (without yours local links)

You shared some screenshots of you work, but we can't test it, and we can't guess what you are really doing there, because shared information are smaller than expected...
After sharing ready-made example someone of the InnoSetup Forum will try to help you.

Greetings,
Wilenty

Eivind Bakkestuen

unread,
Sep 1, 2023, 11:26:00 PM9/1/23
to inno...@googlegroups.com
Robert, your image (next time, paste text) of your .iss shows no Flags parameters. Have you actually tested any of the runas... flags?

--
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.
Reply all
Reply to author
Forward
0 new messages