Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InstallShield Express Limited Edition for VFP7?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00545305
Message ID:
00552675
Vues:
25
Never mind. It looks like it doesn't overwrite that info if you go back into the InstallSHield project where I can just rebuild it as a SingleImage :}
>Jim,
>Concerning "Create a CD ROM setup, so a separate MSI file is created." from the instuctions below : Do you know of any way to put the .msi and other files back into a single image setup.exe after the .msi has been edited with Orca. Seems like there should be an easy way to do this...
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform