Poda
07-01-2009, 11:44 PM
Hi. I get a strange error when I run this on Windows 98. If I do the /X parameter on installing, it says it can't find %_CSIDL_APPDATA% and setup cannot continue when I try to copy a file there. This only happens on Windows 98, not XP . But, when I regular install on Windows 98, it does find
%_CSIDL_APPDATA% just fine. I don't get it. Any ideas? I'm using SetupBuilder 6.5.
Here is my routine:
! %_SB_BACKUPDIR% holds the path that all backup files will be copied to when overwritten
Set Variable %_SB_BACKUPDIR% to "%_SB_INSTALLDIR%\BACKUP"
[ Features ]
! If features are enabled, %_SB_FEATURESID% holds all selections separated by a vertical bar "|"
! Warning: It is not recommended to manually modify the %_SB_FEATURESID% variable!
[ Setup Types ]
! If setup types are enabled, %_SB_SETUPTYPEID% holds the selected type
! Warning: It is not recommended to manually modify the %_SB_SETUPTYPEID% variable!
::Define Setup Type "Typical"
::Define Setup Type "Minimal"
::Define Setup Type "Custom"
[ User Interface ]
! Wizard dialog definition(s)
! The Wizard Loop displays the dialog screens that the user sees in the installation
Loop Wizard (Abort Dialog Active)
End
! Display progress dialog
! Create installation .log
Create Installation Log "[UNINSTALL_LOG]"
[ Create Folders ]
[ Install Files ]
Install File "East.exe" to "%_SB_INSTALLDIR%\East.exe" (Always Install)
Install File "ips.txt" to "%_CSIDL_APPDATA%\ips.txt" (Always Install)
Install File "Readme.txt" to "%_CSIDL_APPDATA%\Readme.txt" (Always Install)
[ Create Shortcuts ]
[ Edit Registry ]
[ Edit INI Files ]
[ Modify System ]
[ Execute Programs ]
[ Finalize Setup ]
! Register all queued pending file operations
Register all pending file operations
[ Final User Interface ]
! Final wizard dialog definition(s)
! The Wizard Loop displays the dialog screens that the user sees in the installation
Loop Wizard (Abort Dialog Active)
End
%_CSIDL_APPDATA% just fine. I don't get it. Any ideas? I'm using SetupBuilder 6.5.
Here is my routine:
! %_SB_BACKUPDIR% holds the path that all backup files will be copied to when overwritten
Set Variable %_SB_BACKUPDIR% to "%_SB_INSTALLDIR%\BACKUP"
[ Features ]
! If features are enabled, %_SB_FEATURESID% holds all selections separated by a vertical bar "|"
! Warning: It is not recommended to manually modify the %_SB_FEATURESID% variable!
[ Setup Types ]
! If setup types are enabled, %_SB_SETUPTYPEID% holds the selected type
! Warning: It is not recommended to manually modify the %_SB_SETUPTYPEID% variable!
::Define Setup Type "Typical"
::Define Setup Type "Minimal"
::Define Setup Type "Custom"
[ User Interface ]
! Wizard dialog definition(s)
! The Wizard Loop displays the dialog screens that the user sees in the installation
Loop Wizard (Abort Dialog Active)
End
! Display progress dialog
! Create installation .log
Create Installation Log "[UNINSTALL_LOG]"
[ Create Folders ]
[ Install Files ]
Install File "East.exe" to "%_SB_INSTALLDIR%\East.exe" (Always Install)
Install File "ips.txt" to "%_CSIDL_APPDATA%\ips.txt" (Always Install)
Install File "Readme.txt" to "%_CSIDL_APPDATA%\Readme.txt" (Always Install)
[ Create Shortcuts ]
[ Edit Registry ]
[ Edit INI Files ]
[ Modify System ]
[ Execute Programs ]
[ Finalize Setup ]
! Register all queued pending file operations
Register all pending file operations
[ Final User Interface ]
! Final wizard dialog definition(s)
! The Wizard Loop displays the dialog screens that the user sees in the installation
Loop Wizard (Abort Dialog Active)
End