Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InstallShield Express Limited Edition for VFP7?
Message
 
To
21/08/2001 18:40:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00545305
Message ID:
00547063
Views:
30
Excellent Jim! Thanks alot - I'll try this out...
>I think I have a way to make this work where the user cannot override the execution of the post setup program. You have to use a Microsoft tool called Orca to directly edit the MSI file.
>
>Orca ships with the Windows Installer SDK, currently at version 1.5 beta 1, and located at http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/530/msdncompositedoc.xml
>
>Install the SDK, and look in the C:\Program Files\MsiIntel.SDK\Tools directory for Orca.msi to install it. Once Orca is installed, you can edit an installer package by rightclicking and selecting "Edit with Orca".
>
>Steps:
>
>1. Create a setup as Claude suggests using ISE-LEVFP, to add your file to run after the setup. Create a CD ROM setup, so a separate MSI file is created.
>2. Go to the MSI file for your setup. It will be in the \Express\CD_ROM\DiskImages\DISK1 directory. Rightclick and select Edit with Orca.
>3. Click the ControlCondition item in the Tables list on the left. Find the record in the table on the right where Dialog = SetupCompleteSuccess and Control = CheckLaunchProgram. Change the Action from Show to Hide
>4. Find the record in the table on the right where Dialog = SetupCompleteSuccess and Control = CheckLaunchText. Change the Action from Show to Hide. These 2 actions hide the checkbox and its caption.
>5. Click the ControlEvent item in the Tables list on the left. Find the record in the table on the right where Dialog = SetupCompleteSuccess, Control = OK, Event = DoAction, and Argument = LaunchProgramFileFromSetupCompleteSuccess. Change the Condition from the long string "" And NOT Installed> to a simple 1.
>6. Save and close the MSI in Orca.
>
>This works for me, the program is launched but the checkbox does not appear in the setup dialog.
>
>Use this at your own risk, as I have only verified it works with a simple setup routine.
>
>Also note that each time you recreate your setup with ISE-LEVFP, you will have to repeat the steps above as the MSI is completely overwritten.
>
>I hope this helps!
>
>Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform