|
-
Sep 2nd, 2005, 12:01 AM
#1
Auto-start of set-up
I haven't really tried it yet but when we create a set-up using P&D Wizard and burn it to CD will it auto-start? If not how could we do it so it would have an auto-start capability?
-
Sep 2nd, 2005, 01:14 AM
#2
Re: Auto-start of set-up
On your cd you need a file called "autorun.ini". In this file add this:
Code:
[autorun]
shellexecute=setup.exe
-
Sep 2nd, 2005, 01:26 AM
#3
Re: Auto-start of set-up
Thanks!
-
Sep 2nd, 2005, 01:30 AM
#4
Re: Auto-start of set-up
no worries
-
Sep 2nd, 2005, 09:04 AM
#5
Re: Auto-start of set-up
You can also add the Icon statement to your autorun.ini to point to an icon you want so it will display that instead of the default CD Rom drive icon.
-
Sep 3rd, 2005, 09:18 AM
#6
Re: Auto-start of set-up
For an autorun cd put this in your autorun.ini file...
Code:
[AutoRun]
OPEN=MyProgram.exe
ICON=MySubFolder\VB-Guru.ico
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 
-
Sep 6th, 2005, 08:59 AM
#7
Fanatic Member
Re: Auto-start of set-up
Isn't it autorun.INF instead of autorun.INI ??
-
Sep 6th, 2005, 09:05 AM
#8
Re: Auto-start of set-up
No, .INF is used for setup details, e.g. for drivers. It is autorun.ini
-
Sep 6th, 2005, 02:56 PM
#9
Fanatic Member
Re: Auto-start of set-up
It's should be working with .ini too because I just look at a cd and it's autorun.INF
-
Sep 6th, 2005, 03:00 PM
#10
Re: Auto-start of set-up
 Originally Posted by RobDog888
For an autorun cd put this in your autorun.ini file...
Code:
[AutoRun]
OPEN=MyProgram.exe
ICON=MySubFolder\VB-Guru.ico
Yes I meant .ini
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 
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
|