/build/static/layout/Breadcrumb_cap_w.png

Self-extracting exe deletes itself and contents

Hi all,

I am in the middle of packaging Paperport 7.0 by Scansoft.
The applicaiton installs a Virtual Printer at some stage during the install.

Here's my problem -

I haven't picked up an INF file or an exe during my setup capture which i had hoped for. I could then have used either the exe in a Cutom Action or the inf file through the "printui.dll" function to install the printer.

I checked the setupapi.log file and found a reference to an exe "C:\Program Files\Scansoft\Paperport\wintdist.exe /Q" and an inf file "C:\Windows\Temp\mse000\wintdist.inf" that i thought would be useful.

I went on to do another install and grabbed the exe during the install from
"C:\Program Files\Scansoft\Paperport", however I wasn't able to grab the inf file becuase as soon as it appears it disappears.

When I ran the wintdist.exe through the command line with the help /? switch I found that if you put wintdist.exe /T:C:\BLABLA it extracts the contents of the exe to C:\BLABLA but again as soon as they're extracted they disappear and i am unable to even copy them.

Any ideas how to overcome this problem?
I feel like all i need to proceed here is the inf file that is extracted so i can then put it together with the printui.dll command but I can't even get there!!!

Agggghhhh!!! HELP!

0 Comments   [ + ] Show comments

Answers (9)

Posted by: spartacus 18 years ago
Black Belt
0
Not sure wintdist.exe will provide the answer you need, several Google searches I did on this seem to indicate this is an ActiveX SDK redistributable (?)

You may however wish to investigate the possibilty of calling the following executable :

C:\Program Files\scansoft\paperport\ptdntins.exe

from your installation package (assuming you are creating an MSI package, use a type 18 Custom Action, perhaps ...)

I believe this executable can be used to install the virtual printer and may possibly be the mechanism by which the vendor's original software achieves it (?)

The following link is partially relevent to your query.

http://knowledgebase.nuance.com/view.asp?tnID=911&sQuery=virtual

I don't know if this executable runs silently though, you may need to investigate this yourself, if that is your requirement.
Posted by: shogun_ro 18 years ago
Orange Belt
0
I have a script that you can use to monitor your setup.exe
This script logs in a file the complete command lines used by the setup.exe and all its subprocesses. If you need it you can e-mail me at ciprianrusen@gmail.com and i will send it to you.
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Hi shogun, script sounds handy - how about posting it for the good of the community? [:)]

Cheers,
Rob.
Posted by: shogun_ro 18 years ago
Orange Belt
0
I can do that but i didn't see any attach options... on the forum.
Give me the 'instructions' and i'll make the script public.:)
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Just copy and paste the script text into your post.. the only downside is you may lose some formatting but the script will still work fine - if anyone wants to use it they can reindent it !

Unless it's 1000's line of code... in which case probably best email you for it [;)]

Cheers,
Rob.
Posted by: mark_holland21 18 years ago
Fourth Degree Green Belt
0
Hi spartacus,

Thanks for the reply!
Ya, I noticed after a bit of investigation that this wintdist.exe doesn't seem to have anything to do with the printer.

I'll give that exe a go and let you know how it goes!

Thanks to everyone for your replies!!

Rgds,
Mark
Posted by: bkelly 18 years ago
Red Belt
0
For scripts, you can use the "Scripts" area of the site here at http://www.appdeploy.com/scripts - it is a mirror of the Admin Script Editor site which lets you submit (and later edit or remove) scripts pretty nicely.
Posted by: shogun_ro 18 years ago
Orange Belt
0
Can i use the appdeploy account to login there or do i need to register?
Posted by: bkelly 18 years ago
Red Belt
0
You'll have to create an account to submit information- it should be just as easy as this site (same back end).
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ