Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    20

    A little upset...

    I'm a little upset... I posted a help question for Setup Factory yesterday.. here.. http://www.indigorose.com/forums/showthread.php?t=19092
    and for some reason it was moved to the AMS thread.... I'm using Setup Factory not AMS...

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by AmyGrrl View Post
    I'm a little upset... I posted a help question for Setup Factory yesterday.. here.. http://www.indigorose.com/forums/showthread.php?t=19092
    and for some reason it was moved to the AMS thread.... I'm using Setup Factory not AMS...
    Did you receieve a notice saying it was moved? I've posted to the wrong forum, it's easy to do when you're already frustrated.

    Now on to your issue...

    If I understand it; you want the default script modified to not allow the user to continue unless a specific file exists, correct?

    Try this:

    Code:
    if(g_IsValidPath(strInstallFolderPath)) then
      if File.DoesExist( strInstallFolderPath .. "\\file.exe") then
      	if(_SpaceAvailable >= _SpaceRequired) then
      		Screen.Next();
      	else
      		if g_ConfirmFreeSpaceOverride() then
      			Screen.Next();
      		end
      	end
      else
        Dialog.Message("A file does not exist", "Folder selection error", MB_OK, MB_ICONSTOP);
      end
    else
    	local strTitle = SetupData.GetLocalizedString("MSG_INVALID_ENTRY");
    	local strPrompt;
    	if(g_ContainsValidPathChars(strInstallFolderPath)) then
    		strPrompt = SetupData.GetLocalizedString("ERR_INVALID_PATH");
    	else
    		strPrompt = SetupData.GetLocalizedString("ERR_INVALID_CHARACTERS") .. "\r\n/ * ? \" < > |";		
    	end
    	Dialog.Message(strTitle, strPrompt, MB_OK, MB_ICONEXCLAMATION);
    end


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Similar Threads

  1. I am upset about this expiration not working.
    By FBlanch in forum AutoPlay Menu Studio 3.0
    Replies: 4
    Last Post: 06-11-2002, 09:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts