What do you think is wrong? (The code works ok for me.)

Neil

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: 04 April 2014 18:09
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Fwd: Problems with signing the bootstrapper

From http://neilsleightholm.blogspot.co.uk/2012/05/wix-burn-tipstricks.html

insignia -ib Setup.exe -o engine.exe
signtool engine.exe (extra parameters excluded for simplicity) insignia -ab 
engine.exe Setup.exe -o Setup.exe signtool Setup.exe


Looks like your line: - insignia -ab bootstrapper.exe engine.exe -o setup.exe 
is wrong.


-----Original Message-----
From: Валентин Виноградов [mailto:wallenw...@gmail.com]
Sent: Friday, April 04, 2014 12:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Fwd: Problems with signing the bootstrapper

Hi!

I have an BA, contains one exepackage (third-party, signed), and on pre-install 
exepackage (.net). I am trying to sign BA. it does not matter if it is signed 
before or after signing the engine (detached by insignia), I have tried every 
variant of signing packages and bootstrappers, but after i sign the whole 
installer (before deploy), it brokes with the next error:

[1FBC:1EA4][2014-04-02T09:37:05]w341: Prompt for source of container:
WixAttachedContainer, path: D:\tmp\Bootstrapper.exe
[1FBC:1EA4][2014-04-02T09:37:05]e054: Failed to resolve source for file:
D:\tmp\Bootstrapper.exe, error: 0x80070002.

it doesn't matter if engine or package is signed

my steps:

- build my bootstrapper.exe

- insignia -ib bootstrapper.exe -o engine.exe

- signtools.exe sign /f pfxfile.pfx /ac sert.cer /p myverylongpassword 
engine.exe

- insignia -ab bootstrapper.exe engine.exe -o setup.exe

- signtools.exe sign /f pfxfile.pfx /ac sert.cer /p myverylongpassword setup.exe

I got unsigned bootstrapper.exe and signed setup.exe. The first one is working 
good, another does not installing with such logs:

[1FBC:1C0C][2014-04-02T09:36:45]i300: Apply begin
[1BBC:09A4][2014-04-02T09:36:45]i360: Creating a system restore point.
[1BBC:09A4][2014-04-02T09:37:05]i361: Created a system restore point.
[1FBC:1EA4][2014-04-02T09:37:05]w341: Prompt for source of container:
WixAttachedContainer, path: D:\tmp\Bootstrapper.exe
[1FBC:1EA4][2014-04-02T09:37:05]e054: Failed to resolve source for file:
D:\develop\tmptmp\Bootstrapper.exe, error: 0x80070002.
[1FBC:1EA4][2014-04-02T09:37:05]e000: Error 0x80070002: Failed while prompting 
for source (original path 'D:\tmp\Bootstrapper.exe').
[1FBC:1EA4][2014-04-02T09:37:05]e311: Failed to acquire container:
WixAttachedContainer to working path:
C:\Users\Admin\AppData\Local\Temp\{d3a1...c500}\64...14, error: 0x80070002.
[1FBC:1C0C][2014-04-02T09:37:05]e000: Error 0x80070002: Failed while caching, 
aborting execution.

And it doesn't matter if I use insignia, or not. I have tried not to cache my 
exepackage, but it is still not working

My exepackage code:

    <Chain>
      <ExePackage
        SourceFile="setup.exe"
        Compressed="yes" Vital="yes" InstallCommand='[OPTIONS]'
                  Cache="yes" SuppressSignatureVerification="yes"
InstallCondition="1"/>
    </Chain>

Can anybody give me some advices, what can I do wrong?
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to