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!
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)
Please log in to answer
Posted by:
spartacus
18 years ago
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.
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
Posted by:
MSIPackager
18 years ago
Posted by:
shogun_ro
18 years ago
Posted by:
MSIPackager
18 years ago
Posted by:
mark_holland21
18 years ago
Posted by:
bkelly
18 years ago
Posted by:
shogun_ro
18 years ago
Posted by:
bkelly
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.