/build/static/layout/Breadcrumb_cap_w.png

Getting error for replacing .DLL.

Hi I am working on an application which ask for replacing .dll during installation. Is there a way we can suppress this message in order to make it completely silent? the source. It seems like source contains .dll of higher version than package one. and i am selecting do not replace at all,but not able to suppress this message. Appreciate responses. Thanks


2 Comments   [ + ] Show comments
  • is it a installshield? (MSI or EXE)? is it decompressing from a CAB(or else) file of plain copy? - dedenker 9 years ago
  • its installshield exe - swap20june 9 years ago

Answers (4)

Posted by: EdT 9 years ago
Red Belt
1
Is this an MSI installation or some other technology?  We need to know this before a sensible answer can be offered.

Comments:
  • hi this is installshield setup.exe and it doesnt have any hidden msi. i tried to find every possible locations. so i recorded .iss file,but its not getting installed silently as this message pops up. - swap20june 9 years ago
    • What is the application? If it is a vendor install, then have you checked the apps database on this site to see if anyone else has published a solution?
      Aside from that, if this dialog cannot be suppressed (and not all Installshiteld dialogs can) then one solution would be to backup the files that are newer on the target, delete them, then restore them after the app has deployed. If this is a vendor app, is there any documentation from the vendor or have you tried speaking with them? - EdT 9 years ago
      • hi i checked with vendor but they say we have to do some re-engineering from packaging side. Also i have attached the screen shot above in question. and i tried to delete this jscript.dll from target but it needs permission , so i cant back up and delete it. is there any other way.

        Thanks again - swap20june 9 years ago
      • Also i recorded uninstall setup.iss and its interactive. ask for prompts like if u want to uninstall software yes/no... - swap20june 9 years ago
Posted by: EdT 9 years ago
Red Belt
1
If this is a legacy install without an internal MSI then you will need to either repackage this install into an MSI where you have more control over file version issues, or you need to log a defect with your vendor and get them to fix it.  If the vendor is telling you that you need to re-engineer the package then ask them how - frankly any installer that cannot cope with newer files being present automatically falls into my definition of a BAD package.
However, how sure are you that there is no internal MSI. The EXE may unpack into another folder and not into TEMP. The simplest way to check is to look in the c:\windows\installer folder after installation as the MSI will be cached in there.
I note you have not replied to my question about the exact name of the software. Is this a custom written piece of code or something that others may have encountered?

Comments:
  • HI Thanks for reply. The application name is TEG Anaytical software 4.2.3 and i checked in c:\windows\installer folder also but no cached msi. Also cant repackage. I tried with repackager i-install monitor. It says to use INSTALLSHIELD PROFESSIONAL LOGGING method instead. and even if i used that method not able to create msi as it shows some error in .nir files. what other ways i can check if there is cached msi? i tried to exctract,temp foler,windows/installer foler,in registries etc. - swap20june 9 years ago
  • to be frank vendor says we cannot suppress the prompt but you have to find a way to suppress it. i checked for the previous versions they have same issue. - swap20june 9 years ago
    • try using repackager but do NOT use the monitor option. use the snapshot option. I then normally use the multiple step option. What version of the repackager are you using??? There is an 'issues' with some older ones, if you exclude some reg keys, it still trys to put them in the ISM, you have to remove them from the NIR file. - Badger 9 years ago
Posted by: SMal.tmcc 9 years ago
Red Belt
1
call the install via a batch file and delete the dll prior to running the setup.exe

Comments:
  • hi the name of .dll file is jcsript.dll and i am trying to delete it and see if the same prompt occurs if i am trying to install application. but it shows me error as attached in screen shot saying that need permission from trusted installer to make changes of this file. - swap20june 9 years ago
    • I cannot read your screen shot, where is this file located? - SMal.tmcc 9 years ago
    • try using "takeown /f (filename)" then see if you can delete it - SMal.tmcc 9 years ago
      • hi i think u can save it and look it. anyways the message is like
        source:c:\users\user id\app data\local\temp\IXP0000.TEMP\jscript.dll
        Target: c:\windows\system 32\jscript.dll
        The target file exists and is newer than the source.
        overwrite the newer file?
        then prompts are
        yes, no,not to all.
        I am using command line as "setup.exe" /s /v"/l*v\"%temp%\pcinst.log\" /qn". but even if the switch qn or s is there it will prompt this message. and i am able to delete jscript.dll file. i followed this link for deleting jscript.dll file.
        http://publib.boulder.ibm.com/infocenter/pcomhelp/v5r9/index.jsp?topic=/com.ibm.pcomm.doc/books/html/install_guide13.htm
        it deletes jscript.dll file,now its asking for deleting vbscript.dll file instead of jscript.dll. - swap20june 9 years ago
Posted by: EdT 9 years ago
Red Belt
1
Based on everything you have said, I believe your only solution is to capture the install and repackage it using Adminstudio or some other tool.

Comments:
  • hi response file looks like this
    [InstallShield Silent]
    Version=v7.00
    File=Response File
    [File Transfer]
    OverwrittenReadOnly=NoToAll
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-DlgOrder]
    Dlg0={6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdWelcome-0
    Count=6
    Dlg1={6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdLicense-0
    Dlg2={6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdSetupTypeEx-0
    Dlg3={6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdAskDestPath-0
    Dlg4={6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdSelectFolder-0
    Dlg5={6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdFinish-0
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdWelcome-0]
    Result=1
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdLicense-0]
    Result=1
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdSetupTypeEx-0]
    Result=Typical
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdAskDestPath-0]
    szDir=C:\Program Files\TEGV4_3
    Result=1
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdSelectFolder-0]
    szFolder=TEGV4_3
    Result=1
    [Application]
    Name=TEGĀ® V4.3
    Version=4.30.000
    Company=Haemoscope Corp.
    Lang=0009
    [{6222F9AE-D10E-49D7-9E2E-0E73BC875FFB}-SdFinish-0]
    Result=1
    bOpt1=0
    bOpt2=0

    is there anything we can change in order to suppress those pop ups? - swap20june 9 years ago
    • If the response to the dialog is not recorded in the ISS file then you could try adding something at the appropriate instant. However, not all Installshield apps are capable of totally silent installation as some dialogs cannot be controlled through the ISS file - EdT 9 years ago
    • have you tried setting the OverWriteReadonly=YesToAll
      Instead of NoToAll??? - Badger 9 years ago
      • yes i have that tried that setting... - swap20june 9 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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