That is what i was thinking, do you know if the bootstrapper generated by
the msbuild GenerateBootstrapper task passes some property to the msi ?
Thanks.
On 21/02/07, Rob Hamflett <[EMAIL PROTECTED]> wrote:
It's possible to include an MSI with an executable as a resource. The
program would then need to
extract the MSI before running it.
A simpler and quicker solution is to add a new property to the MSI
call. When your bootstrapper
calls the MSI, pass a property like STARTEDFROMBOOTSTRAPPER=1, and have a
launch condition on the
MSI that throws an error if STARTEDFROMBOOTSTRAPPER <> 1.
Rob
Ricardo Lopes wrote:
> Hi,
>
> I made a MSI installer using Wix and a bootstrapper using the msbuild
> GenerateBootstrapper task, it creates a setup.exe and a msi file, but
> the msi can be invoke directly overcoming the checks made by the
> bootstrapper and there are checks on the bootstrapper that are difficult
> to include as conditions to prevent the installer from running.
>
> Is there any way to do any of this :
>
> - avoid the msi from unless is started by the bootstrapper (some kind of
> condition)
> - merge the bootstrapper and the msi in only one file and start the
> setup.exe when the merged file is started.
> - any other suggestion ?
>
> I tried to change the extension of the msi to .dat and start that file
> from the setup.exe but it doesn't work as i expected.
>
> Thanks,
>
> Ricardo Lopes.
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Ricardo Lopes
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users