Hi all. Forgive me if this has been covered before, but I can find no information in the archives.
I am using wix v3 (through visual studio), which admittedly may not be the best way to learn but it does seem to have a more inclusive feature set. I am trying to do a conditional reboot, depending on whether or not a certain feature (or component) is installed. Looking through google, I found that I should be able to use &featureId to test for this and on the Installer SDK is a list of variables such as &featureId, !featureId and $componentId, but nothing seems to do the trick. If I try this: <InstallExecuteSequence> <ScheduleReboot After='InstallFinalize'>(&featureId)</ScheduleReboot> </InstallExecuteSequence> I get an error saying that a ';' was expected. I have tried with and without brackets. Any other variable I try, such as !featureId or !featureId=4 seems to cause a reboot whether or not I install the feature. When I try NOT !featureId it doesn't reboot no matter which feature I install. Am I doing something wrong? Thanks in advance. Lawrence ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users