|
-
Nov 29th, 2007, 12:04 PM
#1
Thread Starter
Lively Member
FileName Question
HI,
In this case, what filename(Driver Installer) should i put?
Driver Name: 123
Driver Description: Sentinel System Driver Installer 7.4.0
Code:
Filename: "{app}\<???>"; Description: "{cm:LaunchProgram,Sentinel System Driver Installer 7.4.0}"; Flags: nowait postinstall skipifsilent
Thanks for any Help
-
Nov 29th, 2007, 12:42 PM
#2
Re: FileName Question
We will need allot more info then that.
What installer app are you using?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 29th, 2007, 07:18 PM
#3
Re: FileName Question
He is using Inno Setup...
Boy people expect us to be mid readers...
Hey KenShin87,
Start off by telling us what you hope to acomplish and with what you are doing it with. It would also help to show what you have already. This is a posting board...
-
Nov 30th, 2007, 04:57 AM
#4
Thread Starter
Lively Member
Re: FileName Question
oo..
yes, i am using inno installer..
I hope the system can autorun the driver installer after finish the MDD-STD5V1P2T setup.
but when i put in code below, i get this error "Unable to execute file: d:\MDD-STD5V1P2T\ , CreateProcess failed;code 3, The system cannot find the path specified."
here is the code:
Code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=MDD-STD5V1P2T
AppVerName=First Version
AppPublisher=Westech Multimedia
DefaultDirName={pf}\MDD-STD5V1P2T
DefaultGroupName=MDD-STD5V1P2T
OutputBaseFilename=setup
SetupIconFile=D:\My Projects\PENG\Peng Folder\Icon\MDDIcon3.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
; begin VB system files
; (Note: Scroll to the right to see the full lines!)
Source: "MDD - 5V1P1T\stdole2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "MDD - 5V1P1T\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "MDD - 5V1P1T\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "MDD - 5V1P1T\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "MDD - 5V1P1T\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
Source: "MDD - 5V1P1T\comcat.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
; end VB system files
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\MDD-STD.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Title.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\asycfilt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\comcat.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV1.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV2.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV3.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV4.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV5.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Logo.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\MDD-STD.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\msvbvm60.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Note.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\NoticeBoard.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\oleaut32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\olepro32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\PIC.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Scroll.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\stdole2.tlb"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Temp.mpl"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;Source: "MDD - 5V1P1T\ComCtl32.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "C:\Windows\system32\comdlg32.ocx"; DestDir: "{win}\system32"; Flags: ignoreversion
Source: "C:\Windows\system32\MScomctl.ocx"; DestDir: "{win}\system32"; Flags: ignoreversion
[Icons]
Name: "{group}\MDD-STD5V1P2T"; Filename: "{app}\MDD-STD.exe"
Name: "{group}\{cm:UninstallProgram,MDD-STD5V1P2T}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\MDD-STD5V1P2T"; Filename: "{app}\MDD-STD.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\MDD-STD.exe"; Description: "{cm:LaunchProgram,MDD-STD5V1P2T}"; Flags: nowait postinstall skipifsilent
Filename: "{app}\123"; Description: "{cm:LaunchProgram,Sentinel System Driver Installer 7.4.0}"; Flags: nowait postinstall skipifsilent
-
Nov 30th, 2007, 05:14 AM
#5
Re: FileName Question
d:\MDD-STD5V1P2T\ is not the name of an application...
-
Nov 30th, 2007, 06:18 AM
#6
Thread Starter
Lively Member
Re: FileName Question
nop...
d:\MDD-STD5V1P2T\ is correct .
the error is occured because of this line of code.. @@~
Code:
Filename: "{app}\123"; Description: "{cm:LaunchProgram,Sentinel System Driver Installer 7.4.0}"; Flags: nowait postinstall skipifsilent
BTW.. i solve the problem already..
but i still don know how to include a new empty folder into the package, can you send me some sample please?
thank you very much...
-
Nov 30th, 2007, 06:24 AM
#7
Re: FileName Question
You could run your script in Inno Setup to find those kinds of errors...
Run Inno Script 8.0 Beta on your project. It will give you all the samples that you need for creating folders in the [Dirs] section...
-
Nov 30th, 2007, 06:25 AM
#8
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|