Help needed creating STDU Viewer Switchless Installer

Questions or comments on the switchless installers? Want to create a new one? Talk about it here.
Post Reply
User avatar
c400
Posts: 23
Joined: Mon Jul 31, 2006 1:15 am

Help needed creating STDU Viewer Switchless Installer

Post by c400 » Wed Feb 04, 2009 2:10 pm

STDU Viewer is great for opening PDF and DjView files. Here is the homepage of an app.
http://www.stdutility.com/stduviewer.html

I have some troubles with closing the app right after the silent install finishes. Here is what i have in my bat file:

Code: Select all

start /wait stduviewer1.exe /verysilent /loadinf=1.inf
taskkill.exe /F /T /IM STDUViewerApp.exe
Here is the content of 1.inf:

Code: Select all

[Setup]
Lang=ru
Dir=C:\Program Files\STDU Viewer
Group=STDUtility
NoIcons=0
Tasks=
If i try to install it from windows - everything is ok. But during the install during windows setup, the app doesn`t closes.

User avatar
vmanda
Posts: 1634
Joined: Wed Apr 18, 2007 12:25 pm
Location: TM.Romania

Post by vmanda » Wed Feb 04, 2009 2:34 pm

Download this modified by me STDU Viewer . No running app when install is finished.

Silent commandline: "stduviewer.exe /verysilent /sp-"

User avatar
c400
Posts: 23
Joined: Mon Jul 31, 2006 1:15 am

Post by c400 » Wed Feb 04, 2009 2:55 pm

vmanda, you`ve simply extracted the installer with the help of UniExtract, then recompiled the script with inno setup. I`ve done the same! But this is not the right way:
1) Some dll`s doesn`t register
2) no icons
3) no file assosiations

P.S. the solution was found! The right way is to make RunOnceEx addon, and not the SVCPACK!!!

Post Reply