View Full Version : set App Compability mode
NewsArchive
08-15-2008, 02:16 AM
Anyone...
I need to set the app compability mode to win2000 when creating a shortcut.
Where is this done...before or after creating the shortcut, or at another
point in the script?
Also, is there an example somewhere on placing a checkbox on the 'Finished'
dialog to have the user option of adding the program.exe to the startup
folder?
Thanks!
Skip
NewsArchive
08-15-2008, 02:17 AM
Skip,
> I need to set the app compability mode to win2000 when creating a
> shortcut.
> Where is this done...before or after creating the shortcut, or at another
> point in the script?
The compatibility mode is *not* set for a Shortcut. It's set for an
executable. So you do not modify the configuration for the Shortcut, but
globally for the executable.
From the technical point of view, you can use "Set App Compatibility
Mode..." wherever you want after the "Install File" function for that
specific application. See attached compatibilitymode1.jpg screenshot.
The result is the following (see attached compatibilitymode2.jpg screenshot)
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
08-15-2008, 02:19 AM
Skip,
> Also, is there an example somewhere on placing a checkbox on the
> 'Finished' dialog to have the user option of adding the program.exe
> to the startup folder?
You should not do it at the end of the installation (Finish dialog).
Display an "Additional Tasks" wizard dialog instead (see attached
screenshot).
This is the "Additional Tasks.sb6" project in the Examples package.
Does this help?
Friedrich
NewsArchive
08-18-2008, 01:57 AM
Thanks for both replies, Friedrich.
I have been away from using SetupBuilder for a while and seemed to have
forgotten everything<g>....
Skip
NewsArchive
08-18-2008, 01:57 AM
Skip,
> Thanks for both replies, Friedrich.
>
> I have been away from using SetupBuilder for a while and seemed to
> have forgotten everything<g>....
<BG> I am here to help :)
Friedrich
NewsArchive
08-20-2008, 04:08 AM
This method is not working when I try to install my program in my temp
folder. If I install it in c:\support it works ok
/Michael
NewsArchive
08-21-2008, 01:37 AM
Michael,
> This method is not working when I try to install my program in my temp
> folder. If I install it in c:\support it works ok
By default, the temporary path is returned in "short file" form in Windows.
Just convert %TMPDIR% to the long file format and you are done.
For example:
Install File "C:\test.exe" to "%TMPDIR%\test.exe" (Always Install)
Set Variable %LONG_TMPDIR% to (Longpath)
Set App Compatibility Mode for "%LONG_TMPDIR%\test.exe" to [WIN2000]
The above also works fine for temporary folders.
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
08-21-2008, 01:38 AM
Friedrich
It works like a dream, thank you
/Michael
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.