PDA

View Full Version : Uninstaller Code-Sign test - Need your help!



NewsArchive
03-13-2007, 10:24 AM
All,

I have completed the SetupBuilder 6.1 "Uninstall Code-Sign Replication"
feature now.

As you may already know, Vista makes it vital to use digital signatures in
your application files and installation packages (including the uninstall
application). But if an uninstall application is generated (on-the-fly) at
runtime, it's not possible to code-sign this application when you build your
installer on your development machine.

SetupBuilder 6 goes even one step further. The uninstall executable is not
even included in the install package ("zero-byte overhead" technology).

We have developed an on-the-fly "Uninstall Code-Sign Replication" feature to
sign your uninstall application at runtime on the target machine. Of
course, your certificate is NOT required on the target machine to do this.

If you have a minute, please download the following file (141 KB):

http://lindersoft.com/uninstalltest.exe

Please execute the installer. It will install a small dummy file (foo.txt)
and the uninstall application into the c:\Program Files\uninstalltest
folder.

Please go to the c:\Program Files\uninstalltest folder and select the
Uninst_uninstalltest.exe application. Right-click and select Properties. I
hope there is a "Digital Signatures" tab now.

Does this work? Do you see the certificate?

After that, please double-click Uninst_uninstalltest.exe to uninstall the
test application.

Thank you for your help!

Friedrich

Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-13-2007, 11:42 AM
It works just fine..

Roar Bjørndal-Rasmussen
Zenitel Norway AS

NewsArchive
03-13-2007, 11:42 AM
Thank you, Roar!!

Friedrich

NewsArchive
03-13-2007, 11:42 AM
Worked here. Good job :-)
--
Simon Craythorn
InterVations, Inc
http://www.intervations.com

NewsArchive
03-13-2007, 11:42 AM
Perfect. Thank you Simon!! :-)

Friedrich

NewsArchive
03-13-2007, 11:43 AM
Worked fine here -- XP Pro SP2

Greg

NewsArchive
03-13-2007, 11:43 AM
Thank you, Greg!!

Friedrich

NewsArchive
03-14-2007, 04:53 AM
> If you have a minute, please download the following file (141 KB):

Perfect - not that I would expect anything less<g>

;-)

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
03-14-2007, 04:53 AM
Thank you, Charles.

Seems to me we can continue our work on the RegKISS project soon ;-)

Friedrich

NewsArchive
03-14-2007, 04:53 AM
> Seems to me we can continue our work on the RegKISS project soon ;-)

Great!

Lots of folks are looking forward to seeing what we've been up to<g>


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
03-14-2007, 04:54 AM
Hi Friedrich,

It worked perfectly here.

John

NewsArchive
03-14-2007, 04:54 AM
Thank you, John!

Friedrich

NewsArchive
03-14-2007, 04:54 AM
Friedrich,

Worked perfect here, too. Digital certificate and all!
Skip

NewsArchive
03-14-2007, 04:54 AM
Skip,

Thank you!

Friedrich

NewsArchive
03-14-2007, 04:54 AM
Excellent.
Fine on XP Pro and Vista Ultimate.
I notice the installer and uninstaller are time stamped at the same time.
One small cosmetic issue... this installer says it needs 1K of space (for
foo.txt), whereas it really needs about 150K including the uninstaller and
log.

Way cool! Good job!

Jane

NewsArchive
03-14-2007, 04:54 AM
Hi Jane,

> Excellent.
> Fine on XP Pro and Vista Ultimate.
> I notice the installer and uninstaller are time stamped at the same time.

Yes, uninstaller code-signing is "simulated" when you build the installer,
so both the installer and uninstaller have the same time stamp.

The uninstaller code-signing process is not trivial. SB6 simulates
uninstaller code-signing at compile time and records the code-signing data
stream modifications. It then generates a small (2 KB) patch object. When
the installation application is executed on the target machine, the
uninstaller is created (at this point it is still "un-signed" ) and the
code-sign patch is applied. After that we have a valid code-signed
uninstaller.

> One small cosmetic issue... this installer says it needs 1K of space (for
> foo.txt), whereas it really needs about 150K including the uninstaller and
> log.

*Very* good point! I'll fix this :)

>
> Way cool! Good job!
>

Thank you :)

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-14-2007, 04:55 AM
> I notice the installer and uninstaller are time stamped at the same time.
> One small cosmetic issue... this installer says it needs 1K of space (for
> foo.txt), whereas it really needs about 150K including the uninstaller and
> log.

Fixed, thank you!

Friedrich

NewsArchive
03-14-2007, 04:55 AM
Hi Friedrich,

Alles is wunderbar !

I tried it under Vista 64 Bits and the installer is recognized as your
responsability if it xxx up my computer :)

I dared install it and it did install a txt file in x86 program files

I dared open that dir (although one never knows what might happen under
Vista as after all programs not coming from BG ....

I right clicked on the exe and attached is what I saw with ravished eyes :
you are also responsible of the uninstaller and offer to come and rescue my
computer in case of pbs :)

PERFECT Monsieur !

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
03-14-2007, 04:56 AM
BTW : even under the buggy 64 Bit version here it saw your signature first
time on installer and uninstaller so : either it is only the first time one
of 'your' certificates is offered to Vista that he does not read it
(remember when I tried mine) or ... another one of BG's bugs!

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
03-14-2007, 04:56 AM
Jean-Pierre,

:)

Wow, looks great. Thank you!!!!

Friedrich

NewsArchive
03-14-2007, 04:56 AM
Friedrich,

Tested and works EXACTLY as you said it would - digital signature tab on
the uninstaller!

Thanks for this great innovation!

David

--
From David Troxell - Product Scope 32 PRO - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/
http://www.encouragersoftware.com/blog/

NewsArchive
03-14-2007, 04:57 AM
David,

Thank you :)

Friedrich

NewsArchive
03-14-2007, 04:57 AM
Hi friedrich,

Yes, all works fine and I see the certificate.

Gennadi

NewsArchive
03-14-2007, 04:57 AM
Hi Gennadi,

>
> Yes, all works fine and I see the certificate.
>

Thank you!

Friedrich

NewsArchive
03-14-2007, 04:57 AM
Now who's a clever boy? <vbg>

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
03-14-2007, 04:58 AM
Hi Geoff,

>
> Now who's a clever boy? <vbg>
>

<vbg> :)

Friedrich

NewsArchive
03-14-2007, 04:58 AM
Works perfectly well, - as advertised.


Timo Lahtinen
Helsinki Finland

NewsArchive
03-14-2007, 04:58 AM
Thank you, Timo!

Friedrich

NewsArchive
03-14-2007, 11:34 AM
Friedrich,

I tried it on both Windows XP and Vista with no problems and reading as
expected.

Bob

NewsArchive
03-14-2007, 11:35 AM
Thank you, Bob!!

Friedrich

NewsArchive
03-14-2007, 11:35 AM
Friedrich,

Worked as described here on XP SP2.

--
-- Ned --
Have you seen Rolling Stock?
www.sashasoft.com

NewsArchive
03-14-2007, 11:35 AM
Ned,

Thank you!!

Friedrich

NewsArchive
03-15-2007, 04:39 AM
Friedrich,

After upgrading to the latest SB - is this something that will be added
automagically to our digitally signed installs - or will we need to make a
tweak to our scripts?

Thanks for your time.

--
Geoff (Capesoft)

CapeSoft - where the computer obeys you!!
www.capesoft.com

NewsArchive
03-15-2007, 04:39 AM
Hi Geoff,

It will be automatically added. If you have enabled the feature to
code-sign your installer, it will also code-sign your uninstaller.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner