[wix-users] Running InstallShield setup within a bundle and waiting to continue
Phill Hogland
phill.hogland at rimage.com
Wed Dec 7 14:24:57 PST 2016
Yes and that is unique to a hybrid "InstallScript-MSI" project
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Mark Kunkel <mck at ingersoll.com>
Sent: Wednesday, December 7, 2016 4:14:01 PM
To: 'WiX Toolset Users Mailing List'
Subject: Re: [wix-users] Running InstallShield setup within a bundle and waiting to continue
Thanks for the information. Turns out that I was looking for the /SMS
switch. Which apparently is for older versions of InstallShield.
Proprietary Statement
========================
The information contained in or otherwise included with or attached to this
message, to the extent it is non-public, is the confidential, proprietary
information of Ingersoll Machine Tools, Inc. and, in addition to any
restrictions that may apply pursuant to the terms of any Confidentiality or
Non-Disclosure Agreements between Ingersoll and the recipient (or the
recipient's employer), may not be reproduced, disclosed to any third party
or used by the recipient, for other than the intended purpose for which it
was provided to the recipient, without the prior written approval of
Ingersoll Machine Tools, Inc.
=====================
Mark Kunkel
Ingersoll Machine Tools, Inc
(815) 987-6137
mck at ingersoll.com
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Phill Hogland
Sent: December 07, 2016 3:53 PM
To: 'WiX Toolset Users Mailing List'
Subject: Re: [wix-users] Running InstallShield setup within a bundle and
waiting to continue
The last version of Installshield that I worked with was 2012Spring, but
there are three types of InstallShield projects to my knowledge.
A pure InstallScript project may be a compressed.exe which extracts to some
folder or it may be a folder tree with a setup.exe, data1.cab, data1.hdr,
ISSetup.dll etc in the root of that folder tree, and additional subfolders
defined by the author.
I think, although I have very little experience with InstallScript-MSI
projects, that they to will have both the ISSetup.dll and MSI files, along
with a setup.exe in the extracted folder.
A MSI project, typically has a bootstraper which may be named named
setup.exe or product.exe and one or more MSI and or MST files with some
subfolders for each dependency. (I'm sure there are other approaches than
what I have seen)
For all of the above, you may have a compressed product.exe which when using
the -? will indicate an extraction switch to extract the files to a folder.
I would do that an inspect the files.
Another giveaway is that if your run the setup.exe -?, using the link
provided earlier, only the InstallScript switches will be indicated as being
supported if it is an InstallScript project.
Also the log of a pure InstallScript setup is quite different than the log
of a pure MSI project.
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Mark
Kunkel <mck at ingersoll.com>
Sent: Wednesday, December 7, 2016 2:19:07 PM
To: 'WiX Toolset Users Mailing List'
Subject: Re: [wix-users] Running InstallShield setup within a bundle and
waiting to continue
Thanks Phill for the suggestions. Unfortunately I cannot get any switch to
work. I am somewhat intrigued by the last suggestion. How do I know if it is
an InstallShield MSI project?
Proprietary Statement
========================
The information contained in or otherwise included with or attached to this
message, to the extent it is non-public, is the confidential, proprietary
information of Ingersoll Machine Tools, Inc. and, in addition to any
restrictions that may apply pursuant to the terms of any Confidentiality or
Non-Disclosure Agreements between Ingersoll and the recipient (or the
recipient's employer), may not be reproduced, disclosed to any third party
or used by the recipient, for other than the intended purpose for which it
was provided to the recipient, without the prior written approval of
Ingersoll Machine Tools, Inc.
=====================
Mark Kunkel
Ingersoll Machine Tools, Inc
(815) 987-6137
mck at ingersoll.com
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Phill Hogland
Sent: December 07, 2016 1:25 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Running InstallShield setup within a bundle and
waiting to continue
Also if it is an InstallShield MSI project, what I do is extract the files
and capture the MSI and related transforms. Then after installing it on a
test system using their provided bootstrapper and checking the logs, I
figure out what I need to pass the MSI to get it to install, dispense with
the setup.exe (which is vulnerable to the drive-by highjacking security
flaw) and I use MsiPackage and MsiProperty to add the MSI to my chain. If
it is an InstallScript project I would try using the /clone_wait switch.
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Phill
Hogland <phill.hogland at rimage.com>
Sent: Wednesday, December 7, 2016 1:15:29 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Running InstallShield setup within a bundle and
waiting to continue
It looks like for InstallScript it is /clone_wait and /w or /wait for MSI
project (which you were using).
http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/IHelpS
etup_EXECmdLine.htm#Ref-Command-LineTools_3873826509_1039966
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Mark
Kunkel <mck at ingersoll.com>
Sent: Wednesday, December 7, 2016 12:00:21 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Running InstallShield setup within a bundle and waiting
to continue
I have a bit of a convoluted situation, and I am fairly new to using the Wix
Installer, so there may be a better way to do what I am attempting to do.
I have a third party installer which I can tell was built using
InstallShield. It will not run on Windows 10, and the vendor does not
support anything past Windows 7. Using compatibility mode, the software will
install and run on Windows 10.
So, I have a bundle with a chain that has the following steps:
1.) Extract the files from a self executing archive to a specific folder on
the computer.
2.) Set compatibility mode for all the exe files in the folder where the
files were extracted to.
3.) Run the setup command.
4.) Remove the folder where the files where extracted to.
The first problem here is that the bundle is meant to call executables that
are included are part of the installation, not ones that exist on the target
system. I got around this by creating a program that runs a program as
specified by the "Install Command" of the "ExePackage".
This generally works. However when I do this with the InstallShield setup
program, the program exits right away and continues on to the next item in
the chain. I tried:
setup /w
and
cmd /c start /WAIT C:\temp\xxxxxxx\setup.exe /w
Does anyone know how I can wait for the setup to complete before going on to
the next step in the chain?
Proprietary Statement
========================
The information contained in or otherwise included with or attached to this
message, to the extent it is non-public, is the confidential, proprietary
information of Ingersoll Machine Tools, Inc. and, in addition to any
restrictions that may apply pursuant to the terms of any Confidentiality or
Non-Disclosure Agreements between Ingersoll and the recipient (or the
recipient's employer), may not be reproduced, disclosed to any third party
or used by the recipient, for other than the intended purpose for which it
was provided to the recipient, without the prior written approval of
Ingersoll Machine Tools, Inc.
=====================
Mark Kunkel
Ingersoll Machine Tools, Inc
(815) 987-6137
mck at ingersoll.com
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list