Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    19

    Log File not created

    Hi,
    I'm using Visual Patch 2.0 and I tried add custom message into log file, looks log file not even created.
    In project settings Create Log file is checked and Extended Errors has been selected for include action details. And I set the log file name as

    %AppFolder%\%ProductName% Patch Log.txt

    I used the following command to add log

    VisualPatch.WriteToLogFile("add my custome message in log file",true);

    Any one can help?

    Thanks in advance
    Sugumar

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,729
    Is that action occurring before %AppFolder% is determined in the script?

    (It needs to happen after %AppFolder% holds a valid path or it won't work, obviously. You might want to use a different path, e.g. in %TempFolder% or something.)

    From the help topic for the advanced project settings:

    "Note: You should always create your log files in a pre-existing, standard system directory such as %TempFolder% or %WindowsFolder%."
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Join Date
    Oct 2007
    Posts
    19

    VisualPatch.CheckFolderVersion NOT returning value

    Thanks Lorne.
    Also I have one more issue. The visual patch exe is working fine for English language. The patch is not working for Portuguese.

    looks the following statment doesn't get the InstalledVersion. The g_InstalledVersion value is nil which I set earlier.

    g_InstalledVersion = VisualPatch.CheckFolderVersion("%AppFolder%", FolderPath);

    I have alrady the set the value for "%AppFolder% before calling VisualPatch.CheckFolderVersion

    But the same script is working fine for English language.

    Could you help me to resolve the issue?

    Thanks
    Sugumar

Similar Threads

  1. how copy my selected file only to my Created folder in web Object ??
    By ANAS3 in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 01-10-2006, 01:24 PM
  2. New Setup Factory 7.0 (v 7.0.2.0) Available
    By Darryl in forum Setup Factory 7.0
    Replies: 9
    Last Post: 03-06-2005, 01:57 PM
  3. Audio Tracks Project
    By Michael in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 03-18-2004, 10:58 PM
  4. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

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