PDA

View Full Version : Code Signing settings



NewsArchive
11-11-2009, 01:37 AM
Hi Friedrich

If I load up SB7, tools, options, file locations tab, and specify file
locations for SignTool.exe, Credentials & Private Key File those values are
not being saved when I exit SB7.

Should this be like this?<g>

Other thing I have noticed is these settings get reset everytime I compile
my app as well.

--
--
Cheers
Richard

NewsArchive
11-11-2009, 01:44 AM
Richard,

> If I load up SB7, tools, options, file locations tab, and specify file
> locations for SignTool.exe, Credentials & Private Key File those values
> are
> not being saved when I exit SB7.
>
> Should this be like this?<g>
>
> Other thing I have noticed is these settings get reset everytime I compile
> my app as well.

I can't reproduce this here and we have not received a similar report. I
think if there would be a bug in this function, we had already received a
few hundred bug reports <g>

See attached screenshot. "OK" saves it immediately, not when you exit the
IDE. And a compile does not touch the settings at all.

To be on the safe side, I tested this on Windows XP, Vista 64-bit and
Windows 7 64-bit -- it works fine here.

Friedrich

NewsArchive
11-12-2009, 02:25 AM
Hi Friedrich

I'm using a Windows 7 32bit VMware guest the one you didnt try.<vbg>

Havent tried on the other OS's but like you said you'd have expected a
number of reports by now.

Would it matter that I have put the Signtool in this path:
C:\Users\richard\Documents\SetupBuilder Projects\signtool\signtool.exe
along with the Capicom.dll and the pvk2pfx?


--
--
Cheers
Richard

NewsArchive
11-12-2009, 02:25 AM
In fact if I just load SB7, Tools, Options, File Locations tab, change the
path to C:\signtool\signtool.exe (moved to C drive in case it didnt like me
using the user folders), click ok then go back into it again,
(Tools,Options, File location tab) its resetting back to C:\Program
Files\Lindersoft\SetupBuilder 7 Developer\Lib\SignCode.exe every time and
blanking out the other two fields for the code signing files.

Any ideas what could cause this? I'll install SB6.5 on the same vmguest and
see if 6.5 is working as expected.
--
--
Cheers
Richard

NewsArchive
11-12-2009, 02:26 AM
Hi Richard,

> I'm using a Windows 7 32bit VMware guest the one you didnt try.<vbg>
>
> Havent tried on the other OS's but like you said you'd have expected a
> number of reports by now.
>
> Would it matter that I have put the Signtool in this path:
> C:\Users\richard\Documents\SetupBuilder Projects\signtool\signtool.exe
> along with the Capicom.dll and the pvk2pfx?

Okay <g> Started a Win7 32-bit VMWare 7 guest, installed SB7 and copied
signtool.exe to C:\Users\Linder\Documents\SetupBuilder
Projects\signtool\signtool.exe

Launched the SB7 IDE and changed the code-signing tool location to the above
path (using the "Choose File" dialog). Restarted the IDE several times,
compiled two different projects, nothing changed back to
"..\Lib\SignCode.exe".

To be honest, I have no idea what could cause this on your machine :-(

Friedrich

NewsArchive
11-12-2009, 02:26 AM
Hi Friedrich

I've installed the latest version on a XP vmguest, full install and it works
ok, the only difference I can think of is the last few updates for SB7 on
win7 has been via a webupdate.

So repaired the Win7 install, no change still no settings saved.
Uninstalled SB7 rebooted the Win7 VM, reinstalled. It hilighted SB7.lic
during the install so copied it but then let SB7 remove it and it now works
ok.

So maybe there was/has a been a problem in the past and the webupdate hasnt
updated in quite the right way.

I can send you the lic file if that might be of any use? I dont know where
these settings are stored ie reg or file but something would appear to be
locked or read only. Maybe its something VM has done when I move from my
main dev machine to my laptop? Bit of a mystery as to cause but at least its
solved now!<g>

But might be one to watch out for in the future.<g>



--
--
Cheers
Richard