[wpkg-users] installshield exe install fails
Paul McGrath
J.P.McGrath at leeds.ac.uk
Fri Jun 21 16:35:05 CEST 2013
Hi Antony,
My usual process for Installshield is as follows:
1. Use Uniextract to extract the Disk1 folder containing the installshield setup.exe with associated cab files.
2. Record the setup.iss file using setup.exe -r NOTE this file is created in C:\Windows so move it from there to your install source folder.
3. Make two copies e.g. setup32.iss and setup64.iss for XP/Win764. Edit each setup??.iss to change the value of szDir= one for "program files" and another for "program files (x86)"
4. Record another setup.iss this time for uninstallation. This is done by finding the UID folder usually
located in "C:\Program Files (x86)\InstallShield Installation Information" and running setup.exe -r (again).
The new setup.iss file is again located in c:\windows rename it to uninst.iss and put in your source folder
5. Edit the setup.ini and add switches to the value cmdline=/s /v/qn
6. Now reference the following for sequencing your app
installation:
For XP or Win7 32bit
%SOFTWARE%\MYAPP\setup.exe /s /f1%SOFTWARE%\MYAPP\setup32.iss /f2c:\netinst\MYAPP.log
For Windows 7 64bit
%SOFTWARE%\MYAPP\setup.exe /s /f1%SOFTWARE%\MYAPP\setup64.iss /f2c:\netinst\MYAPP.log
uninstallation:
For XP or Win7 32bit
RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{MYAPPUID}\setup.exe" /s /f1c:\localfolder\uninst.iss
For Windows 7 64bit
RunDll32 C:\PROGRA~2\COMMON~1\INSTAL~1\PROFES~1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files (x86)\InstallShield Installation Information\{MYAPPUID}\setup.exe" /s /f1c:\localfolder\uninst.iss
You will see from my notes above that you can log the install with /f2
This is my line for software called Articulate
If you do extract the large .exe and fine a MSI then you can use ORCA to create a transform with ISSSETUPDRIVEN=1 under the Property table which will allow you to run the .MSI without setup.exe. Note this doesn't always work. I recommend making a transform instead of editing the original MSI.
Hope this helps
Paul
-----Original Message-----
From: wpkg-users-bounces at lists.wpkg.org [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Antony Awaida
Sent: 21 June 2013 15:04
To: wpkg-users at lists.wpkg.org
Subject: [wpkg-users] installshield exe install fails
Hi there:
I am trying to install ipro suite 8.5 on a windows 7 64 bit. the package is an installshield based exe with an embedded msi.
So I am able to install the ipro suite from the administrator command prompt using: 8.5.exe /s /v"/qn /L* logfile" . I have the setup.iss file in the same directory as the exe.
When I try to do the install using WPKG (running as system), I get the
error: Could not process (install) package: Exit code returned non-successful value (-1) on command: 8.5.exe /s /v"/qn /L*logfile"
Looking at the msi log, there are a bunch of errors:
1: Failed to extract ISRT.dll, error is 32
1: Failed to extract _IsRes.dll, error is 32 Failed to create uninstallation information, error is 0x80070002
Though I also get the message:
MSI (s) (04:74) [06:54:42:809]: Product: IPRO Tech Suite 8.5 -- Installation operation completed successfully.
I tried to extract the msi (using 8.5.exe /a) and install it using msiexec, but it returns a meaningless dialog: "1:"
I would appreciate any insight....
Regards,
Antony
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list