View previous topic :: View next topic |
Author |
Message |
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Mon Feb 21, 2005 6:58 pm Post subject: |
|
|
All ShinobiSoft Setup Wizard really is is an over-glorified file copier. It
reads all the install details from a text file that resides in the same folder
as setup.exe. I have implemented some macros to assist, and I am also
writing a script to make it easier to create the installation scripts.
There are a few things that set this script apart from other text-based
installer scripts, one being an ID string that identifies the installer script
as a ShinobiSoft Setup Wizard script.
Here's a list of the macros supported for now. Macros are case-sensitive.
Quote: |
@InstDir - This is where the installed files go to.
@SrcDir - This is where the install will be copied from.
@ProgramFiles - .\Program Files folder.
@Windows - obviously the .\Windows directory.
@WinSys - .\Windows\System folder.
@WinSys32 - .\Windows\System32 folder.
@StartMenu - .\Windows\Start Menu folder
@Temp - either .\Temp or .\Windows\Temp.
|
If I can figure an easy way to do this I will also include:
Quote: | @VDS - Path to VDS |
All of the correct values for the macros are determined at run-time.
Sample Install Script:
Code: |
$$ID: sssw$$
::Setup
Test Application
1.0
@ProgramFiles\TestApp
::Folders
; No extra folders to create, just the main app folder
::Files
@SrcDir\testapp.exe,@InstDir\testapp.exe,10957
::Links
; No shortcuts to create
|
The section names are also case-sensitive. Comments are permitted and
are identified by ';'. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
tim6389 Professional Member
Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Feb 22, 2005 4:00 am Post subject: |
|
|
that looks good
question tho what about sub folders that have files in them? how would that work when ya go to install it?
thanks _________________ Have a nice day |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Feb 22, 2005 2:40 pm Post subject: |
|
|
Here's the install script that will be coming with SSMenu.Dll as soon as I'm
finished with writing ShinobiSoft setup Wizard. There is some data missing
but at least you'll get the idea
Code: |
$$ID: sssw$$
::Setup
SSMenu.Dll
2.0
C:\Program Files\ShinobiSoft
; For future use - License.txt
; For future use - Custom Welcome message
; For future use - ReadMe.txt
::Folders
; Installation folders
@InstDir\SSMenu_2.0
@InstDir\SSMenu_2.0\RcRes
@InstDir\SSMenu_2.0\Samples
; Start Menu folders
@StartMenu\Programs\ShinobiSoft
@StartMenu\Programs\ShinobiSoft\SSMenu_2.0
@StartMenu\Programs\ShinobiSoft\SSMenu_2.0\Samples
::Files
; .\SSMenu_2.0
@SrcDir\ssmenu.dll,@InstDir\SSMenu_2.0\ssmenu.dll,
@SrcDir\ssmenu.chm,@InstDir\SSMenu_2.0\ssmenu.chm,
@SrcDir\ssmenu.txt,@InstDir\SSMenu_2.0\ssmenu.txt,
; .\SSMenu_2.0\RcRes
@SrcDir\rcres\std.rc,@InstDir\SSMenu_2.0\RcRes\std.rc,
; .\SSMenu_2.0\Samples
@SrcDir\ssmenu.dll,@InstDir\SSMenu_2.0\samples\ssmenu.dll,
@SrcDir\samples\loadmenures.dsc,@InstDir\SSMenu_2.0\samples\loadmenures.dsc,
@SrcDir\samples\loadmenures_menubar_demo.dsc,@InstDir\SSMenu_2.0\samples\loadmenures_menubar_demo.dsc,
@SrcDir\samples\ssmenu_dll_demo.dsc,@InstDir\SSMenu_2.0\samples\ssmenu_dll_demo.dsc,
@SrcDir\samples\ssmenu_dll_menubar_demo.dsc,@InstDir\SSMenu_2.0\samples\ssmenu_dll_menubar_demo.dsc,
@SrcDir\samples\ssmenu_historylist.dsc,@InstDir\SSMenu_2.0\samples\ssmenu_historylist.dsc,
@SrcDir\samples\ssmenu_taskicon.dsc,@InstDir\SSMenu_2.0\samples\ssmenu_taskicon.dsc,
@SrcDir\samples\ssmenu_v20_demo.dsc,@InstDir\SSMenu_2.0\samples\ssmenu_v20_demo.dsc,
@SrcDir\samples\menudemo.dsr,@InstDir\SSMenu_2.0\samples\menudemo.dsr,
@SrcDir\samples\menudemo.map,,@InstDir\SSMenu_2.0\samples\menudemo.map,
@SrcDir\samples\test.rc,@InstDir\SSMenu_2.0\samples\test.rc,
@SrcDir\samples\histtest.ini,@InstDir\SSMenu_2.0\samples\histtest.ini,
@SrcDir\samples\readme.txt,@InstDir\SSMenu_2.0\samples\readme.txt,
::Links
@InstDir\SSMenu_2.0\ssmenu.chm,@StartMenu\Programs\ShinobiSoft\SSMenu_2.0\SSMenu Help Contents.lnk,@InstDir\SSMenu_2.0,,1
@InstDir\SSMenu_2.0\ssmenu.txt,@StartMenu\Programs\ShinobiSoft\SSMenu_2.0\SSMenu.txt.lnk,@InstDir\SSMenu_2.0,,1
@InstDir\SSMenu_2.0\Samples\loadmenures.dsc,@StartMenu\Programs\ShinobiSoft\SSMenu_2.0\Samples\loadmenures.dsc.lnk,@InstDir\SSMenu_2.0\Samples,,1
|
_________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Tue Feb 22, 2005 8:45 pm Post subject: |
|
|
Need a little help here. I'm having trouble deciding on an interface for
creating the installation scripts for ShinobiSoft Setup Wizard. As far as I
can figure, the interface needs to be project based because all of the
source files really should be copied into one directory before zipping them
up. This method will also prevent from having to repeat building the
installation script whenever minor changes are made to a product.
Anyone have any ideas please post them here or email me with your
thoughts. Thanks in advance. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Apr 21, 2009 8:19 pm Post subject: |
|
|
Whatever happened to this project Bill? I'm still kind of waiting/looking forward to it. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|