mmadden
Posts: 22
Joined: Fri Jun 10, 2005 6:21 pm
Location: West Conshohocken, PA

Test Mode Installer

Perhaps include a Test Mode for a compiled package.
A flag or option that you can set on certain events that when you run in 'Test" mode , the events only simulate or skip and not actually run.

I found that when I am designing an installer that modifies Windows Security settings or registry values or executes external apps, contains large files, etc, that when I am testing I don't really need to actually have the files copy, the reg settings integrate, the security settings applied. I only need to verify that they will or will not run based on decisions made in the dialogs.

Right now I have to manually omit certain files or events, but I keep forgetting to reenable them, where a single test mode flag would be nice.

I did simulate this functionality using an Install Parameter called "InstallTest" and setting certain events to fire or not based on a conditional value using that Install Parameter. But I am asking for something built in, easier to implement.

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This cannot be done. Windows Installer does not permit such a simulation.

To test the UI you actually need to build and run the MSI. As you already do.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Feature Requests”