View Full Version : Conditionally Exclude Script?
NewsArchive
06-20-2007, 02:08 AM
Can this be done?
For my block of code signing and manifest embedding code I would like to
have this done only if the Target Machine is Vista.
Lynn Howard
www.linkedsoftware.com
NewsArchive
06-20-2007, 02:08 AM
You want to create two installers - one for Vista and one for other OS?
(#ifdef)
Or you want to include two copies of each piece of software in your
installer, sign and manifest one copy, and then deploy conditionally? (If...
else...)
Jane Fleming
NewsArchive
06-20-2007, 02:08 AM
Hi Jane,
Ah I think I see. <G>
I want to have one installer and if I'm installing on Vista the apps would
be code signed.
Lynn
NewsArchive
06-20-2007, 02:09 AM
> I want to have one installer and if I'm installing on Vista the apps would
> be code signed.
You should just sign the app regardless of Vista or not.
There is no downside to it and no benefit of adding extra complexities to
your installs.
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
06-20-2007, 02:09 AM
Thanks Charles.
MakeOver has a problem with apps with manifests on XP. The disabled icons
are uglier than usual. See attachments. Before is Before manifest added.
I'm working with Capesoft and I hope we can resolve it.
Lynn
NewsArchive
06-20-2007, 02:09 AM
> MakeOver has a problem with apps with manifests on XP. The disabled icons
> are uglier than usual. See attachments. Before is Before manifest added.
>
> I'm working with Capesoft and I hope we can resolve it.
Ah - I see.
That makes sense.
I'm sure they'll get it sorted out.
Take care,
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
06-20-2007, 02:09 AM
SB embeds the manifest and signs the app(s) at the time the installer is
compiled.
Jane
NewsArchive
06-20-2007, 02:10 AM
So it's two installers.
Thanks.
Lynn
NewsArchive
06-20-2007, 02:10 AM
Lynn,
No, you don't need two installers! Just add two separate versions of your
..exe and SetupBuilder will do the dirty work for you ;-)
As I understand it, MakeOver only has a problem with the manifest. So I
would suggest to code-sign both .exe files, just skip the manifest embedding
for non-Vista and non-Windows Server 2008 machines.
Add yourapp.exe for Vista/Windows Server 2008
Add yourapp.exe for Win95/98/Me/NT4/2000/2003/XP
Embed the manifest to the first file only. That's it ;-)
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
06-20-2007, 03:02 AM
Doesn't this 'double' the size of the install?
Steve Bywaters
NewsArchive
06-20-2007, 03:29 AM
Steve,
It will add another compressed object for that file to the setup.exe. For
example, if "your.exe" is 6MB uncompressed and 3MB compressed, it will add
another 3MB of overhead.
You should also be able to use the patch feature here. Add "your.exe" for
all OS's. Then apply a patch directly after the "Install File" action to
patch "your.exe" to the Vista-aware version (of course, on Vista and Windows
Server 2008 only). This should save 80% or more.
Friedrich
NewsArchive
06-20-2007, 05:02 AM
Thanks Friedrich!
As you know you are not the problem. You are the solution!
Lynn
NewsArchive
06-20-2007, 05:03 AM
:)
Friedrich
NewsArchive
06-22-2007, 04:06 AM
Now that *is* interesting..... eliminates most of the downside....
Steve Bywaters
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.