[Samsung Gear Fit] stakoz:
Hi adfree

I have placed the unzipped "Fit2Installer" folder in the main tree C:\Fit2Installer

(this is Windows 10 on a Virtual Machine on a Mac)

As per the instructions have already copy pasted the certificates made with Tizen Studio in C:\Fit2Installer\cert

Below is the contents of my "sign.bat" file relating to above path

And further below is also the output window of cmd.exe having run the "sign.bat" file for "waldo_transl.wgt" that was placed in the "sign_me" subfolder

There is something about security profile.xml path, which i also tried to address by editing the default profile path in the "tizen cli-config" file, but it always comes back as before, so left it as it was, as it still works.

Finally I also shared with all my PC users the read/write rights for the "Fit2Installer" folder just in case, as described in the instructions for the "Tizen Studio" folder too

Hope this helps

+++

contents of my modified "sign.bat" :

+++

[MENTION=8011874]Echo off[/MENTION]

set /p pass="Enter certificate password: "

call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat cli-config -- .\tizen "default.profiles.path=..\..\..\..\profiles.xml"

call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat security-profiles add -- .\tizen -f -n MyProfile -a C:\Fit2Installer\cert\author.p12 -p %pass% -d C:\Fit2Installer\cert\distributor.p12 -dp %pass%

for %%f in (.\sign_me\*.tpk) do (

call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- "%%f" -o C:\Fit2Installer\install_me\

)

for %%f in (.\sign_me\*.wgt) do (

call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- "%%f" -o C:\Fit2Installer\install_me\

)

for /D %%d in (.\sign_me\*) do (

IF EXIST %%d\config.xml (

cd %%d

call "C:\Fit2Installer\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *

cd ..

move "%%~nd_zip.zip" "%%~nd_wgt.wgt"

cd ..

call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -s MyProfile -- ".\sign_me\%%~nd_wgt.wgt" -o C:\Fit2Installer\install_me\

del ".\sign_me\%%~nd_wgt.wgt"

) ELSE (

IF EXIST %%d\tizen-manifest.xml (

cd %%d

call "C:\Fit2Installer\7zipcli\7za.exe" a "..\%%~nd_zip.zip" *

cd ..

move "%%~nd_zip.zip" "%%~nd_tpk.tpk"

cd ..

call C:\Fit2Installer\tizen\tizen-studio\tools\ide\bin\tizen.bat package -t tpk -s MyProfile -- ".\sign_me\%%~nd_tpk.tpk" -o C:\Fit2Installer\install_me\

del ".\sign_me\%%~nd_tpk.tpk"

)

)

)

pause

+++

contents of the output window of cmd.exe having run above sign.bat file :

+++

Enter certificate password: password

Setting configuration is succeeded....

Loaded in 'C:\Fit2Installer\tizen\profiles.xml'.

Security profiles have a specified profile. Will be overwritten.

author path: C:\Fit2Installer\cert\author.p12

author password: *********

distributor1 path: C:\Fit2Installer\cert\distributor.p12

distributor1 password: *********

Wrote to 'C:\Fit2Installer\tizen\profiles.xml'.

Succeed to add 'MyProfile' profile.

If want to sign by this, add the file of security profiles in CLI configuration

like 'tizen cli-config "profiles.path=C:\Fit2Installer\tizen\profiles.xml"'.

Author certficate: C:\Fit2Installer\cert\author.p12

Distributor1 certificate : C:\Fit2Installer\cert\distributor.p12

Package( C:\Fit2Installer\install_me\waldo_transl.wgt ) is created successfully.

Press any key to continue . . .

+++