mefas
09-20-2005, 06:03 AM
how could i change my Shortcut name?
some of my code:
Dialog.Message("",System.GetDefaultLangID().Primary); -- 9
if System.GetDefaultLangID().Primary == 9 then
tbl_FL = SetupData.GetFileList(); --FileList
for x, tbl_Prop in tbl_FL do
if tbl_Prop.FileName == "MyExec.exe" then
Dialog.Message("",tbl_Prop.ShortcutDescription); -- "not english shortcut"
tbl_Prop.ShortcutDescription = "english shortcut";
Dialog.Message("",tbl_Prop.ShortcutDescription); -- "english shortcut"
end; --if
end; --for
end; --if
----------------------------------
This code executes On Pre Insall
but in the end it installs "not english shortcut".
What am i doing wrong? Help me please!
some of my code:
Dialog.Message("",System.GetDefaultLangID().Primary); -- 9
if System.GetDefaultLangID().Primary == 9 then
tbl_FL = SetupData.GetFileList(); --FileList
for x, tbl_Prop in tbl_FL do
if tbl_Prop.FileName == "MyExec.exe" then
Dialog.Message("",tbl_Prop.ShortcutDescription); -- "not english shortcut"
tbl_Prop.ShortcutDescription = "english shortcut";
Dialog.Message("",tbl_Prop.ShortcutDescription); -- "english shortcut"
end; --if
end; --for
end; --if
----------------------------------
This code executes On Pre Insall
but in the end it installs "not english shortcut".
What am i doing wrong? Help me please!