MSI bundled in setup.exe
0 Comments
[ + ] Show comments
Answers (36)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
The CA producing that message is OnCheckSilentInstall. Condition that one out, too.
The WPS debugger is part of WPS and, as far as I'm aware, not available as a separate component [sic]. If you have WPS, load up the MSI into the editor and click the 'Debug' button which is tucked down on the bottom right-hand side of the page, or press Ctrl+E.
Note that, whilst mostly useful, this is another classic, bug-ridden piece of software from Wise. If you cancel an "installation" while it's running in the debugger, 9 times out of 10 it will hang the user-level MSIEXEC.EXE process. You'll have to kill it with Task Manager/Process Explorer.
The WPS debugger is part of WPS and, as far as I'm aware, not available as a separate component [sic]. If you have WPS, load up the MSI into the editor and click the 'Debug' button which is tucked down on the bottom right-hand side of the page, or press Ctrl+E.
Note that, whilst mostly useful, this is another classic, bug-ridden piece of software from Wise. If you cancel an "installation" while it's running in the debugger, 9 times out of 10 it will hang the user-level MSIEXEC.EXE process. You'll have to kill it with Task Manager/Process Explorer.
Posted by:
anonymous_9363
14 years ago
Running the MSI through WPS's debugger, it seems that the offending CA is ISVerifyScriptingRuntime. Conditioning-out that CA allowed the MSI to proceed past the offending message.
Be aware, though, that because the rest of the package was built in "lazy IS packager" mode, it will still require the necessary IS driver/engine (v8) to be pre-installed.
Be aware, though, that because the rest of the package was built in "lazy IS packager" mode, it will still require the necessary IS driver/engine (v8) to be pre-installed.
Posted by:
anonymous_9363
14 years ago
Posted by:
timmsie
14 years ago
search for ISSETUPDRIVEN it's been covered loads of times
You need to add this public property to your msi (via a transform obviously)
there may also be a custom action called onsilentinstall (that may not be the correct name as I'm just trying to recall it from my little brain) which needs removing or conditioned to never run
You need to add this public property to your msi (via a transform obviously)
there may also be a custom action called onsilentinstall (that may not be the correct name as I'm just trying to recall it from my little brain) which needs removing or conditioned to never run
Posted by:
djain3
14 years ago
Posted by:
timmsie
14 years ago
Posted by:
anonymous_9363
14 years ago
Some stubs are set up to accept a switch so that additional arguments can be passed to MSIExec. That switch is normally '/V' so it might be worth trying something like: setup /V"/L*V %temp%\MyLog.log". The log which hopefully results will contain the complete command line which was passed to MSIExec.
Posted by:
djain3
14 years ago
Posted by:
djain3
14 years ago
Posted by:
djain3
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
djain3
14 years ago
ORIGINAL: VBScab
Post the MSI to SendUit.com or similar
I have uploaded the setup.exe which extracts msi in temp location.
Also I have uploaded the extracted msi.
Iclipse MSI -->
Iclipse Setup.exe
Please take a look and let me know your comments.
Posted by:
djain3
14 years ago
Posted by:
djain3
14 years ago
ORIGINAL: VBScab
Running the MSI through WPS's debugger, it seems that the offending CA is ISVerifyScriptingRuntime. Conditioning-out that CA allowed the MSI to proceed past the offending message.
Be aware, though, that because the rest of the package was built in "lazy IS packager" mode, it will still require the necessary IS driver/engine (v8) to be pre-installed.
Hi Ian,
I removed the custom action, after that tried to run the msi and got the message as " To run a silent install you must either specify a response file or override this event (onMsiSilentInstall()) and provide your own implementation. setup will now end"
Yes, looks like this is installscript msi.
I have few queries, probably you can answer as you have the source media now...
1. How to package in this scenario? to create an ISS file or take a snapshot of this one.
2. can you point me to WPS debugger, I had used it years back but not recently
Many Thanks.....
Posted by:
djain3
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
djain3
14 years ago
Posted by:
djain3
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
djain3
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
djain3
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
djain3
14 years ago
What is IMV...
I have tried what you have suggested...and then msi run silently...that is fine....
but now there is a small issue, as I had told you earlier, there are no dialogues in MSI and as part of cutomizations, I have to supply some data on different dialogues as per the users requirement....
Now ..how do I do this if I try to create transform for this msi.....
I have tried what you have suggested...and then msi run silently...that is fine....
but now there is a small issue, as I had told you earlier, there are no dialogues in MSI and as part of cutomizations, I have to supply some data on different dialogues as per the users requirement....
Now ..how do I do this if I try to create transform for this msi.....
Posted by:
anonymous_9363
14 years ago
http://www.acronymfinder.com/Slang/IMV.html
What customisations do you need? Obviously, you'll remove the LaunchCondition and probably change the REBOOT property to R but what else is there to customise?
there are no dialogues in MSI and as part of cutomizations, I have to supply some data on different dialoguesSurely part one of that sentence precludes any possible action on the second?
What customisations do you need? Obviously, you'll remove the LaunchCondition and probably change the REBOOT property to R but what else is there to customise?
Posted by:
djain3
14 years ago
Posted by:
timmsie
14 years ago
Posted by:
spartacus
14 years ago
ORIGINAL: djain3
if you run setup.exe....there are various options that comes as part of installation....like server name, database name and few other things,....which are displayed in different dialogues.....
In which case you should try and capture the changes made to your system when you run the original setup.exe after you have installed your MSI using a lightweight capture tool such as PictureTaker or InCntrl. But first you will need to temporarily change the ProductCode GUID in your MSI before you install it otherwise the second (setup.exe) will think that the product is already installed and will show the Modify/Remove dialog which is not what you want.
To summarize,
1) Edit your MSI and note the value of the original ProductCode property then change it to a new GUID.
2) Install your MSI
3) Run a 'before' snapshot using a capture tool
4) Install the original setup.exe responding to dialogs as needed
5) Run an 'after' snapshot using the capture tool
6) Examine the snapshot clearing anything that is obviously junk
7) Edit your MSI and revert the ProductCode property to the value noted at step 1
8) Create a transform and incorporate the relevant changes picked up in the snapshot. Don't forget to add any LaunchConditions and REBOOT property changes if you need them.
Regards,
Spartacus
Posted by:
anonymous_9363
14 years ago
you will need to temporarily change the ProductCode GUID in your MSIIt's much quicker - and safer - to rename the relevant entry in the registry's Uninstall tree.
As to the dialogs, the set-up stub must be passing information to the MSI, unless it's installing stuff outside of that, in which case a lightweight snapshot tool is the way to go. I apologise: I was under the impression that all packagers routinely run MSI-extracting stubs after installing just the MSI in order to determine if the stub is behaving that way. I guess that what ASSUME does, right?
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.